pull/1285/head
Piero Toffanin 2023-01-25 11:47:57 -05:00
rodzic 8e2c0109be
commit 5cf7195a8f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -255,7 +255,7 @@ class TestApi(BootTestCase):
# Can't delete a project for which we just have view permissions
res = client.delete('/api/projects/{}/'.format(other_temp_project.id))
self.assertTrue(res.status_code == status.HTTP_403_FORBIDDEN)
self.assertTrue(res.status_code == status.HTTP_404_NOT_FOUND)
# Can delete a project for which we have delete permissions
assign_perm('delete_project', user, other_temp_project)