Edited unit tests

This test caused a breach in security due to the alert block displaying sensitive data.
This commit is contained in:
Théo DURR
2023-03-08 20:47:59 +01:00
parent 16150905a0
commit 5ea181829e
2 changed files with 1 additions and 8 deletions

View File

@ -142,8 +142,4 @@ class GalaxyTest(TestCase):
Galaxy.rule()
self.client.login(username="root", password="plop")
response = self.client.get("/galaxy/2/")
self.assertContains(
response,
"Ce citoyen n'a pas encore rejoint la galaxie",
status_code=404,
)
self.assertEquals(response.status_code, 404)