Skip to content

Commit

Permalink
Update ExternalIntegrationTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx authored Sep 6, 2023
1 parent 97fe517 commit ac9be42
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/tests/ExternalIntegrationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,18 @@ public void renderTemplate() {
public void sizeRequest() {
running(testServer(3333), () -> {
Long hits = Lobid
.getTotalHits("@graph.http://purl.org/lobid/lv#multiVolumeWork.@id",
"http://lobid.org/resource/HT018486420", "")
.getTotalHits("isPartOf.hasSuperordinate.id",
"http://lobid.org/resource/HT018486420#!", "")
.get(Lobid.API_TIMEOUT);
assertThat(hits).isGreaterThan(0);
hits = Lobid
.getTotalHits("@graph.http://purl.org/lobid/lv#series.@id",
"http://lobid.org/resource/HT002091108", "")
.getTotalHits("isPartOf.hasSuperordinate.id",
"http://lobid.org/resources/HT002091108#!", "")
.get(Lobid.API_TIMEOUT);
assertThat(hits).isGreaterThan(0);
hits = Lobid
.getTotalHits("@graph.http://purl.org/lobid/lv#containedIn.@id",
"http://lobid.org/resource/HT001387709", "")
.getTotalHits("containedIn.id",
"http://lobid.org/resource/HT001387709#!", "")
.get(Lobid.API_TIMEOUT);
assertThat(hits).isGreaterThan(0);
});
Expand Down

0 comments on commit ac9be42

Please sign in to comment.