Skip to content

Commit

Permalink
Fix API test case that was asserting against an auto-ID (bad practice)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgodwin1 committed Aug 26, 2024
1 parent 45b2399 commit 1f453c0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion solution/backend/regcore/tests/test_api_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def test_get_parts(self):
x = dict(x[0])
self.assertEqual(x['name'], parts[0]['name'])
self.assertEqual(x['depth'], parts[0]['depth'])
self.assertEqual(x['id'], parts[0]['id'])

def test_get_title_versions(self):
response = self.client.get("/v3/title/42/versions")
Expand Down

0 comments on commit 1f453c0

Please sign in to comment.