-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix FetcherTests #11644
Fix FetcherTests #11644
Conversation
@@ -28,7 +28,7 @@ void setUp() { | |||
@Test | |||
void findByDOI() throws IOException { | |||
entry.setField(StandardField.DOI, "10.1038/nature12373"); | |||
assertEquals(Optional.of(new URL("https://dash.harvard.edu/bitstream/1/12285462/1/Nanometer-Scale%20Thermometry.pdf")), finder.findFullText(entry)); | |||
assertEquals(Optional.of(new URL("https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4221854")), finder.findFullText(entry)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks wrong, it should return the fulltext pdf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should revert this then and get the other changes in 😅
…enAccessDoiTest.java
The build for this PR is no longer available. Please visit https://builds.jabref.org/main/ for the latest build. |
I went through the fetcher test results at #11643 - they all should come from other strings returned. This PR fixes it.
Mandatory checks
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)