Skip to content

Commit 4079f34

Browse files
fix create_category_missing_token test
1 parent 5211b58 commit 4079f34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_category.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ def test_create_category_invalid_token(self):
140140
self._verify_category_in_db('TestInvalid', should_exist=False)
141141

142142

143-
def test_update_category_missing_token(self, create_category, create_authenticated_headers):
143+
def test_create_category_missing_token(self):
144144
response = self.client.post('/category/create', json={'name': 'TestMissing'})
145145
utils.verify_token_error_response(response, 'authorization_required')
146-
self._verify_category_in_db(self.TEST_CATEGORY_NAME, should_exist=False)
146+
self._verify_category_in_db('TestMissing', should_exist=False)
147147

148148

149149
def test_update_category_expired_token(self, create_category, create_authenticated_headers):

0 commit comments

Comments
 (0)