Skip to content

Commit

Permalink
[CST-18016] Updated tests to take into account newly created external…
Browse files Browse the repository at this point in the history
… sources
  • Loading branch information
AdamF42 committed Feb 21, 2025
1 parent abf5293 commit c1b27eb
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,15 @@ public void findAllExternalSources() throws Exception {
ExternalSourceMatcher.matchExternalSource(
"pubmed", "pubmed", false),
ExternalSourceMatcher.matchExternalSource(
"openaireFunding", "openaireFunding", false)
"openaireFunding", "openaireFunding", false),
ExternalSourceMatcher.matchExternalSource(
"openalexPublication", "openalexPublication", false),
ExternalSourceMatcher.matchExternalSource(
"openalexPublicationByAuthorId", "openalexPublicationByAuthorId", false),
ExternalSourceMatcher.matchExternalSource(
"openalexPerson", "openalexPerson", false)
)))
.andExpect(jsonPath("$.page.totalElements", Matchers.is(11)));
.andExpect(jsonPath("$.page.totalElements", Matchers.is(14)));
}

@Test
Expand Down

0 comments on commit c1b27eb

Please sign in to comment.