Skip to content

Fix FetcherTests#11644

Merged
koppor merged 2 commits into
mainfrom
fix-fetcher-tests2
Aug 19, 2024
Merged

Fix FetcherTests#11644
koppor merged 2 commits into
mainfrom
fix-fetcher-tests2

Conversation

@koppor

@koppor koppor commented Aug 18, 2024

Copy link
Copy Markdown
Member

I went through the fetcher test results at #11643 - they all should come from other strings returned. This PR fixes it.

Mandatory checks

  • Change in CHANGELOG.md described in a way that is understandable for the average user (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for UI changes)
  • Checked developer's documentation: Is the information available and up to date? If not, I outlined it in this pull request.
  • Checked documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request to the documentation repository.

@koppor koppor enabled auto-merge August 18, 2024 22:51
@koppor koppor added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Aug 18, 2024
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));

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Member Author

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 😅

@github-actions

github-actions Bot commented Aug 19, 2024

Copy link
Copy Markdown
Contributor

The build for this PR is no longer available. Please visit https://builds.jabref.org/main/ for the latest build.

@koppor koppor added this pull request to the merge queue Aug 19, 2024
Merged via the queue into main with commit b41593a Aug 19, 2024
@koppor koppor deleted the fix-fetcher-tests2 branch August 19, 2024 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: fetcher dev: testing Related to tests status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants