diff options
| author | Shyam Sunder | 2020-01-12 12:18:53 -0500 |
|---|---|---|
| committer | Shyam Sunder | 2020-01-12 12:18:53 -0500 |
| commit | 978a384d9eed75f410f5add5fc95cb78171b4ed9 (patch) | |
| tree | 527436a49a5f26b82b9d649ae760cf6adce3707b /server/szurubooru/tests/api | |
| parent | 53ec25f4c46f77704338e2463504d1e72fa20469 (diff) | |
server/tag-categories: order tag categories alphabetically when requested
Diffstat (limited to 'server/szurubooru/tests/api')
| -rw-r--r-- | server/szurubooru/tests/api/test_tag_retrieving.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/szurubooru/tests/api/test_tag_retrieving.py b/server/szurubooru/tests/api/test_tag_retrieving.py index 43a0766..c720b6e 100644 --- a/server/szurubooru/tests/api/test_tag_retrieving.py +++ b/server/szurubooru/tests/api/test_tag_retrieving.py @@ -17,7 +17,7 @@ def inject_config(config_injector): def test_retrieving_multiple(user_factory, tag_factory, context_factory): tag1 = tag_factory(names=['t1']) tag2 = tag_factory(names=['t2']) - db.session.add_all([tag1, tag2]) + db.session.add_all([tag2, tag1]) db.session.flush() with patch('szurubooru.func.tags.serialize_tag'): tags.serialize_tag.return_value = 'serialized tag' |