diff --git a/uniticket/api_rest/tests/test_01_basic_operations.py b/uniticket/api_rest/tests/test_01_basic_operations.py index f48679ba..023ed65f 100644 --- a/uniticket/api_rest/tests/test_01_basic_operations.py +++ b/uniticket/api_rest/tests/test_01_basic_operations.py @@ -128,7 +128,7 @@ def test_strutture_list(self): # no auth res = req.get(url) - self.assertEqual(res.status_code, 401) + self.assertEqual(res.status_code, 403) # auth res = req.get(url, **self.at.as_http_header) @@ -140,7 +140,7 @@ def test_category_list(self): # no auth res = req.get(url) - self.assertEqual(res.status_code, 401) + self.assertEqual(res.status_code, 403) # auth res = req.get(url, **self.at.as_http_header) @@ -159,7 +159,7 @@ def test_new_ticket(self): # no auth res = req.get(url) - self.assertEqual(res.status_code, 401) + self.assertEqual(res.status_code, 403) # auth - GET res = req.get(url, **self.at.as_http_header)