diff options
author | 2020-03-31 13:45:46 +0300 | |
---|---|---|
committer | 2020-03-31 13:45:46 +0300 | |
commit | 1f66694835013b1025a1630afe3290adbc03b94f (patch) | |
tree | cfb8f405f88030bd100d84819a8e59b8ded1ed28 | |
parent | (Off-topic Channel Names Viewset Tests): Added test for not authenticated req... (diff) |
(Off-topic Channel Names Viewset Tests): Added used parameter to list tests.
-rw-r--r-- | pydis_site/apps/api/tests/test_off_topic_channel_names.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/apps/api/tests/test_off_topic_channel_names.py b/pydis_site/apps/api/tests/test_off_topic_channel_names.py index 9697f1f6..fea3932b 100644 --- a/pydis_site/apps/api/tests/test_off_topic_channel_names.py +++ b/pydis_site/apps/api/tests/test_off_topic_channel_names.py @@ -65,8 +65,8 @@ class EmptyDatabaseTests(APISubdomainTestCase): class ListTests(APISubdomainTestCase): @classmethod def setUpTestData(cls): - cls.test_name = OffTopicChannelName.objects.create(name='lemons-lemonade-stand') - cls.test_name_2 = OffTopicChannelName.objects.create(name='bbq-with-bisk') + cls.test_name = OffTopicChannelName.objects.create(name='lemons-lemonade-stand', used=False) + cls.test_name_2 = OffTopicChannelName.objects.create(name='bbq-with-bisk', used=True) def test_returns_name_in_list(self): url = reverse('bot:offtopicchannelname-list', host='api') |