mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Edited unit tests
This test caused a breach in security due to the alert block displaying sensitive data.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user