aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/tests
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-04-27 16:41:18 +0200
committerGravatar D0rs4n <[email protected]>2021-12-18 18:02:11 +0100
commit71a5e0d854c587ca2ae70aaec80f1110ea8800e5 (patch)
treed4f9db15fd7f87106023e1248153906010943110 /pydis_site/apps/api/tests
parentFilters: update tests to the new schema (diff)
Filters: allowed_category -> allowed_categories
Diffstat (limited to 'pydis_site/apps/api/tests')
-rw-r--r--pydis_site/apps/api/tests/test_filters.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pydis_site/apps/api/tests/test_filters.py b/pydis_site/apps/api/tests/test_filters.py
index de78ecfd..f38f3659 100644
--- a/pydis_site/apps/api/tests/test_filters.py
+++ b/pydis_site/apps/api/tests/test_filters.py
@@ -62,7 +62,7 @@ def get_test_sequences() -> Dict[str, TestSequence]:
disallowed_channels=[],
disallowed_categories=[],
allowed_channels=[],
- allowed_category=[],
+ allowed_categories=[],
default=False
)
)
@@ -89,7 +89,7 @@ def get_test_sequences() -> Dict[str, TestSequence]:
disallowed_channels=[],
disallowed_categories=[],
allowed_channels=[],
- allowed_category=[],
+ allowed_categories=[],
default=False
)
}
@@ -111,7 +111,7 @@ def get_test_sequences() -> Dict[str, TestSequence]:
"disallowed_channels": [1234],
"disallowed_categories": [5678],
"allowed_channels": [9101],
- "allowed_category": [1121],
+ "allowed_categories": [1121],
"default": True
}
),