Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SeninoSeno committed Dec 15, 2023
1 parent 2fbf13c commit c1be373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokeapi/mysite/pokemoon/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_create_fight(self):
response = self.client.post(reverse('result', args=[1]),
data='{"user_id": 1, "pc_id": 2, '
'"user_hp": 111, "pc_hp": 222, '
'"round_count": 99, "winner_id": 1, "email": "aaa"}',
'"round_count": 99, "winner_id": 1, "email": ""}',
content_type="application/json")
self.assertEqual(response.status_code, 200)
self.assertEqual(len(Fight.objects.all()), 1)
Expand Down

0 comments on commit c1be373

Please sign in to comment.