Skip to content

Commit

Permalink
Correct provenance capture assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
bensteinberg committed Jan 8, 2025
1 parent 1d4875f commit de10af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perma_web/api/tests/test_link_authorization.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def test_should_allow_user_to_patch_with_file(self):
data={'file':file_content})

self.assertTrue(Capture.objects.filter(link_id=self.link.pk, role='primary').exclude(pk=old_primary_capture.pk).exists())
self.assertTrue(Capture.objects.filter(link_id=self.link.pk, role='provenance_summary').exclude(pk=old_primary_capture.pk).exists())
self.assertTrue(Capture.objects.filter(link_id=self.link.pk, role='provenance_summary').exists())

self.link.refresh_from_db()

Expand Down

0 comments on commit de10af3

Please sign in to comment.