diff --git a/core/tests/test_lcsb.py b/core/tests/test_lcsb.py index 5aec2a8a..0e61a01c 100644 --- a/core/tests/test_lcsb.py +++ b/core/tests/test_lcsb.py @@ -372,7 +372,7 @@ def test_create_access_with_external_id(): assert access.application_external_id == "2024/1" -def test_update_accesses_external_id(caplog): +def test_update_accesses_external_id(): access_0 = AccessFactory.create() access_1 = AccessFactory.create(rems_id=True) access_2 = AccessFactory.create(rems_id=True, rems_external_id=True) @@ -393,8 +393,6 @@ def test_update_accesses_external_id(caplog): ) bulk_update_rems_external_ids() - assert "REMS :: Accesses updated: 1" in caplog.text - updated_access_0 = Access.objects.get(id=access_0.id) assert not updated_access_0.application_external_id