summaryrefslogtreecommitdiffstats
path: root/python/tests/harvest_crossref.py
diff options
context:
space:
mode:
authorbnewbold <bnewbold@archive.org>2020-04-01 18:13:49 +0000
committerbnewbold <bnewbold@archive.org>2020-04-01 18:13:49 +0000
commitd25b813b2e6514196840a3225a8bb9a5d33a22bf (patch)
treeb21d56c1029a9862f94fffffa627ee643d788767 /python/tests/harvest_crossref.py
parent48cc4c85008bb3fa2751c042112467c7e60a96aa (diff)
parent851c40143d44a73a92ff2c9556b3a63f29668c2d (diff)
downloadfatcat-d25b813b2e6514196840a3225a8bb9a5d33a22bf.tar.gz
fatcat-d25b813b2e6514196840a3225a8bb9a5d33a22bf.zip
Merge branch 'bnewbold-crossref-deposit' into 'master'
change crossref harvest date field See merge request webgroup/fatcat!41
Diffstat (limited to 'python/tests/harvest_crossref.py')
-rw-r--r--python/tests/harvest_crossref.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/harvest_crossref.py b/python/tests/harvest_crossref.py
index 52aa7b81..e902cda5 100644
--- a/python/tests/harvest_crossref.py
+++ b/python/tests/harvest_crossref.py
@@ -36,7 +36,7 @@ def test_crossref_harvest_date(mocker):
assert "mailto:test@fatcat.wiki" in responses.calls[0].request.headers['User-Agent']
# check that correct date param was passed as expected
- assert "filter=from-index-date%3A2019-02-03" in responses.calls[0].request.url
+ assert "filter=from-update-date%3A2019-02-03" in responses.calls[0].request.url
# check that we published the expected number of DOI objects were published
# to the (mock) kafka topic