synapse-product/tests/rest/admin
Daniel Sonck 6b241f5286
Make pagination of rooms in admin api stable (#11737)
Always add state.room_id after the configurable ORDER BY. Otherwise,
for any sort, certain pages can contain results from
other pages. (Especially when sorting by creator, since there may
be many rooms by the same creator)

* Document different order direction of numerical fields

"joined_members", "joined_local_members", "version" and "state_events"
are ordered in descending direction by default (dir=f). Added a note
in tests to explain the differences in ordering.

Signed-off-by: Daniël Sonck <daniel@sonck.nl>
2022-01-17 11:42:51 +00:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_admin.py Convert status codes to HTTPStatus in tests.rest.admin (#11455) 2021-11-30 09:53:54 +00:00
test_background_updates.py Add type hints to synapse/tests/rest/admin (#11590) 2021-12-16 14:59:56 -05:00
test_device.py Add type hints to synapse/tests/rest/admin (#11501) 2021-12-03 13:57:13 +00:00
test_event_reports.py Add type hints to synapse/tests/rest/admin (#11501) 2021-12-03 13:57:13 +00:00
test_federation.py Fix get federation status of destination if no error occured (#11593) 2022-01-05 14:46:50 -05:00
test_media.py Add type hints to synapse/tests/rest/admin (#11590) 2021-12-16 14:59:56 -05:00
test_registration_tokens.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
test_room.py Make pagination of rooms in admin api stable (#11737) 2022-01-17 11:42:51 +00:00
test_server_notice.py Add type hints to synapse/tests/rest/admin (#11501) 2021-12-03 13:57:13 +00:00
test_statistics.py Add missing errcode to parse_string and parse_boolean (#11542) 2021-12-09 11:23:34 +00:00
test_user.py Remove the 'password_hash' from the Users Admin API endpoint response dictionary (#11576) 2022-01-14 14:53:33 +00:00
test_username_available.py Convert status codes to HTTPStatus in tests.rest.admin (#11455) 2021-11-30 09:53:54 +00:00