diff options
author | Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> | 2020-12-17 11:43:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-17 10:43:37 +0000 |
commit | 06006058d7bf6744078109875cd27f47197aeafa (patch) | |
tree | 914debf5e03d197db2055cda4c004c4750dcf810 /tests/storage | |
parent | Add a maximum size for well-known lookups. (#8950) (diff) | |
download | synapse-06006058d7bf6744078109875cd27f47197aeafa.tar.xz |
Make search statement in List Room and User Admin API case-insensitive (#8931)
Diffstat (limited to 'tests/storage')
-rw-r--r-- | tests/storage/test_main.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/storage/test_main.py b/tests/storage/test_main.py index 7e7f1286d9..e9e3bca3bf 100644 --- a/tests/storage/test_main.py +++ b/tests/storage/test_main.py @@ -48,3 +48,10 @@ class DataStoreTestCase(unittest.TestCase): self.assertEquals(1, total) self.assertEquals(self.displayname, users.pop()["displayname"]) + + users, total = yield defer.ensureDeferred( + self.store.get_users_paginate(0, 10, name="BC", guests=False) + ) + + self.assertEquals(1, total) + self.assertEquals(self.displayname, users.pop()["displayname"]) |