Skip to content

Commit 37b2a4a

Browse files
author
Mykhaylo Boychuk
committed
[DSC-2782] fix test
1 parent d3cf079 commit 37b2a4a

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

dspace-server-webapp/src/test/java/org/dspace/app/rest/ExternalSourcesRestControllerIT.java

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -70,20 +70,9 @@ public void findAllExternalSources() throws Exception {
7070
ExternalSourceMatcher.matchExternalSource("suggestion", "suggestion", false),
7171
ExternalSourceMatcher.matchExternalSource("openaireProject", "openaireProject", false),
7272
ExternalSourceMatcher.matchExternalSource("crossref", "crossref", false),
73-
ExternalSourceMatcher.matchExternalSource("orcidWorks", "orcidWorks", false),
74-
ExternalSourceMatcher.matchExternalSource("dataciteProject", "dataciteProject", false),
75-
ExternalSourceMatcher.matchExternalSource("openalexPublication", "openalexPublication", false),
76-
ExternalSourceMatcher.matchExternalSource(
77-
"openalexPublicationByAuthorId", "openalexPublicationByAuthorId", false),
78-
ExternalSourceMatcher
79-
.matchExternalSource("openalexPublicationByDOI", "openalexPublicationByDOI", false),
80-
ExternalSourceMatcher.matchExternalSource("openalexPerson", "openalexPerson", false),
81-
ExternalSourceMatcher.matchExternalSource("openalexJournal", "openalexJournal", false),
82-
ExternalSourceMatcher.matchExternalSource("openalexInstitution", "openalexInstitution", false),
83-
ExternalSourceMatcher.matchExternalSource("openalexPublisher", "openalexPublisher", false),
84-
ExternalSourceMatcher.matchExternalSource("openalexFunder", "openalexFunder", false)
73+
ExternalSourceMatcher.matchExternalSource("orcidWorks", "orcidWorks", false)
8574
)))
86-
.andExpect(jsonPath("$.page.totalElements", Matchers.is(25)));
75+
.andExpect(jsonPath("$.page.totalElements", Matchers.is(16)));
8776
}
8877

8978
@Test

0 commit comments

Comments
 (0)