From ac9be42b227ae5605b18dbcf11fa23c98a8d3944 Mon Sep 17 00:00:00 2001 From: TobiasNx <61879957+TobiasNx@users.noreply.github.com> Date: Wed, 6 Sep 2023 17:19:30 +0200 Subject: [PATCH] Update ExternalIntegrationTest.java --- test/tests/ExternalIntegrationTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/tests/ExternalIntegrationTest.java b/test/tests/ExternalIntegrationTest.java index 17b85856..5171de6e 100644 --- a/test/tests/ExternalIntegrationTest.java +++ b/test/tests/ExternalIntegrationTest.java @@ -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); });