Skip to content

Commit

Permalink
Updated oapen API version url to v3 in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
keegansmith21 committed May 30, 2022
1 parent c7d82e4 commit a113bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def test_download_access_stats_new(self, mock_replace_ip):
requestor_id = "requestor_id"
api_key = "api_key"
base_url = (
f"https://irus.jisc.ac.uk/api/oapen/reports/oapen_ir/?platform=215&requestor_id"
f"https://irus.jisc.ac.uk/api/v3/oapen/reports/oapen_ir/?platform=215&requestor_id"
f"={requestor_id}&api_key={api_key}&begin_date={release_date}&end_date={release_date}"
)
if publisher_uuid:
Expand Down

0 comments on commit a113bc4

Please sign in to comment.