From f54f1c1187ab6f779c8495399df1c79cf2fb70ba Mon Sep 17 00:00:00 2001 From: Benoit Orihuela Date: Sat, 23 Dec 2023 18:16:36 +0100 Subject: [PATCH] fix(subscription): incorrect param when calling query subscriptions in a test --- .../egm/stellio/subscription/web/SubscriptionHandlerTests.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subscription-service/src/test/kotlin/com/egm/stellio/subscription/web/SubscriptionHandlerTests.kt b/subscription-service/src/test/kotlin/com/egm/stellio/subscription/web/SubscriptionHandlerTests.kt index 34ffcafc8..d82ca7adf 100644 --- a/subscription-service/src/test/kotlin/com/egm/stellio/subscription/web/SubscriptionHandlerTests.kt +++ b/subscription-service/src/test/kotlin/com/egm/stellio/subscription/web/SubscriptionHandlerTests.kt @@ -413,7 +413,7 @@ class SubscriptionHandlerTests { coEvery { subscriptionService.getSubscriptions(any(), any(), any()) } returns listOf(subscription) webClient.get() - .uri("/ngsi-ld/v1/subscriptions?${subscription.id}&limit=0&offset=1&count=true") + .uri("/ngsi-ld/v1/subscriptions?limit=0&offset=1&count=true") .exchange() .expectStatus().isOk .expectHeader().valueEquals(RESULTS_COUNT_HEADER, "3")