Skip to content

Commit

Permalink
Update Blog tests
Browse files Browse the repository at this point in the history
Due to changing the way blogs are retrieved the test function was looking at the wrong blog when verifying.
  • Loading branch information
Zen-Kristalovich authored and Zen-Kristalovich committed Mar 8, 2024
1 parent 271913e commit 847a585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lvlgg_backend/blog/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def test_get_blogs(self):
self.assertIn('id', blog)
self.assertIn('title', blog)

first_blog = blogs[1]
first_blog = blogs[0]
self.assertEqual(first_blog['title'], payload['title'])


Expand Down

0 comments on commit 847a585

Please sign in to comment.