summaryrefslogtreecommitdiffstats
path: root/src/test/groovy/org
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2024-05-29 12:39:35 +0000
committerGerrit Code Review <gerrit@onap.org>2024-05-29 12:39:35 +0000
commit3adc1d6bc4400b37c1cb23c0204d7f09d4ff380b (patch)
treeb5268f4001684794dc5e7c3e0a34b0faa356a4fc /src/test/groovy/org
parent8ec8bc27176da9c85d5d205d9c40dce2c1591036 (diff)
parentefe96fa26c01a66c673be68d5ecc70f836963505 (diff)
Merge "CPS-2187 - Move Module Set Tag into request body for data access passthrough"
Diffstat (limited to 'src/test/groovy/org')
-rw-r--r--src/test/groovy/org/onap/cps/ncmp/dmi/rest/controller/DmiRestControllerSpec.groovy4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/groovy/org/onap/cps/ncmp/dmi/rest/controller/DmiRestControllerSpec.groovy b/src/test/groovy/org/onap/cps/ncmp/dmi/rest/controller/DmiRestControllerSpec.groovy
index 23b039bd..a519de7b 100644
--- a/src/test/groovy/org/onap/cps/ncmp/dmi/rest/controller/DmiRestControllerSpec.groovy
+++ b/src/test/groovy/org/onap/cps/ncmp/dmi/rest/controller/DmiRestControllerSpec.groovy
@@ -341,14 +341,14 @@ class DmiRestControllerSpec extends Specification {
def 'PassThrough logs module set tag'(){
given: 'Passthrough read URL and request data with a module set tag (parameter)'
def readPassThroughUrl ="${basePathV1}/ch/some-cmHandle/data/ds/ncmp-datastore:" +
- 'passthrough-running?resourceIdentifier=some-resourceIdentifier&moduleSetTag=module-set-tag1'
+ 'passthrough-running?resourceIdentifier=some-resourceIdentifier'
def jsonData = TestUtils.getResourceFileContent('readData.json')
when: 'the request is posted'
mvc.perform(
post(readPassThroughUrl).contentType(MediaType.APPLICATION_JSON).content(jsonData))
then: 'response status is OK'
def loggingMessage = getLoggingMessage(0)
- assert loggingMessage.contains('module-set-tag1')
+ assert loggingMessage.contains('module-set-tag-example')
}
def 'Get resource data for pass-through running with #scenario value in resource identifier param.'() {