Skip to content

Commit 49986c4

Browse files
committed
Fix test_doi_synced_datacite test
1 parent 2633477 commit 49986c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api_tests/identifiers/managment_commands/test_sync_dois.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def test_doi_synced_datacite(self, app, registration, registration_identifier, m
5858
assert registration_identifier.modified.date() < datetime.datetime.now().date()
5959

6060
call_command('sync_doi_metadata', f'-m={datetime.datetime.now()}')
61-
assert len(mock_datacite.calls) == 3
61+
assert len(mock_datacite.calls) == 2
6262
update_metadata, update_doi = mock_datacite.calls
6363
assert update_metadata.request.url == f'{settings.DATACITE_URL}/metadata'
6464
assert update_doi.request.url == f'{settings.DATACITE_URL}/doi'

0 commit comments

Comments
 (0)