From 7186306a3f1d3af3a8365486e32e198135f65806 Mon Sep 17 00:00:00 2001 From: danielhanrahan Date: Fri, 21 Jun 2024 11:49:48 +0100 Subject: Fix compile issue after facade introduction Due to automatic rebase, a method got renamed in one commit but not the other. Issue-ID: CPS-2263 Signed-off-by: danielhanrahan Change-Id: Id0fa8eba79cb98bb24419bfddc0c9b9e8c9a42d3 --- .../org/onap/cps/ncmp/api/impl/DmiSubJobRequestHandlerSpec.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cps-ncmp-service/src/test/groovy/org') diff --git a/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/DmiSubJobRequestHandlerSpec.groovy b/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/DmiSubJobRequestHandlerSpec.groovy index a1e032979..8dc3d223b 100644 --- a/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/DmiSubJobRequestHandlerSpec.groovy +++ b/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/DmiSubJobRequestHandlerSpec.groovy @@ -33,7 +33,7 @@ class DmiSubJobRequestHandlerSpec extends Specification { when: 'sending request to DMI invoked' objectUnderTest.sendRequestsToDmi(dataJobId, dataJobMetadata, dmiWriteOperationsPerProducerKey) then: 'the dmi rest client is called' - 1 * mockDmiRestClient.postOperationWithJsonData(RequiredDmiService.DATA, _, _, OperationType.CREATE, NO_AUTH) >> response + 1 * mockDmiRestClient.synchronousPostOperationWithJsonData(RequiredDmiService.DATA, _, _, OperationType.CREATE, NO_AUTH) >> response and: 'the result contains the expected sub-job write responses' def result = response.body assert result.subJobId() == 'my-sub-job-id' -- cgit 1.2.3-korg