summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'cps-ncmp-service/src/test')
-rw-r--r--cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/notifications/avc/AvcEventProducerIntegrationSpec.groovy2
-rw-r--r--cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/notifications/avc/AvcEventProducerIntegrationSpec.groovy b/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/notifications/avc/AvcEventProducerIntegrationSpec.groovy
index 0089f777d3..744737080b 100644
--- a/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/notifications/avc/AvcEventProducerIntegrationSpec.groovy
+++ b/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/notifications/avc/AvcEventProducerIntegrationSpec.groovy
@@ -77,7 +77,7 @@ class AvcEventProducerIntegrationSpec extends MessagingBaseSpec {
and: 'timestamps match'
assert testEventSent.eventTime == convertedAvcEvent.getEventTime()
and: 'target matches'
- assert testEventSent.eventTarget == convertedAvcEvent.getEventTarget()
+ assert testEventSent.eventSource == convertedAvcEvent.getEventSource()
}
} \ No newline at end of file
diff --git a/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json b/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json
index d7d252b9aa..bda2b4e638 100644
--- a/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json
+++ b/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json
@@ -2,7 +2,7 @@
"eventId": "4cb32729-85e3-44d1-aa6e-c923b9b059a5",
"eventCorrelationId": "68f15800-8ed4-4bae-9e53-27a9e03e1911",
"eventTime": "2022-12-12T14:29:23.876+0000",
- "eventTarget": "NCMP",
+ "eventSource": "NCMP",
"eventType": "org.onap.cps.ncmp.event.model.AvcEvent",
"eventSchema": "urn:cps:org.onap.cps.ncmp.event.model.AvcEvent",
"eventSchemaVersion": "v1",