diff --git a/perma_web/api/tests/test_link_authorization.py b/perma_web/api/tests/test_link_authorization.py index 57a072ab2..ff29a36a1 100644 --- a/perma_web/api/tests/test_link_authorization.py +++ b/perma_web/api/tests/test_link_authorization.py @@ -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()