aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/karate-config.js2
-rw-r--r--src/test/resources/karatetest/data/subscriber.json2
-rw-r--r--src/test/resources/karatetest/features/01--ServiceInventory.feature2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/karate-config.js b/src/test/java/karate-config.js
index f67e555..4b81173 100644
--- a/src/test/java/karate-config.js
+++ b/src/test/java/karate-config.js
@@ -1,6 +1,6 @@
function() {
var config = {
- nbiBaseUrl: 'http://localhost:8080/nbi/api/v3'
+ nbiBaseUrl: 'http://localhost:8080/nbi/api/v4'
};
karate.configure('connectTimeout', 5000);
karate.configure('readTimeout', 5000);
diff --git a/src/test/resources/karatetest/data/subscriber.json b/src/test/resources/karatetest/data/subscriber.json
index 1853952..14dfdb8 100644
--- a/src/test/resources/karatetest/data/subscriber.json
+++ b/src/test/resources/karatetest/data/subscriber.json
@@ -13,7 +13,7 @@
"query": "eventType=ServiceOrderItemStateChangeNotification"
},
{
- "callback": "http://localhost:8080/nbi/api/v3/test/listener",
+ "callback": "http://localhost:8080/nbi/api/v4/test/listener",
"query": "eventType=ServiceOrderStateChangeNotification"
}
] \ No newline at end of file
diff --git a/src/test/resources/karatetest/features/01--ServiceInventory.feature b/src/test/resources/karatetest/features/01--ServiceInventory.feature
index 95f8696..eacbf2f 100644
--- a/src/test/resources/karatetest/features/01--ServiceInventory.feature
+++ b/src/test/resources/karatetest/features/01--ServiceInventory.feature
@@ -20,7 +20,7 @@ And match $.supportingResource == '#[2]'
Scenario: testServiceResourceGetInventoryWithStatus
-Given url 'http://localhost:8080/nbi/api/v3/service/405c8c00-44b9-4303-9f27-6797d22ca096'
+Given path 'service','405c8c00-44b9-4303-9f27-6797d22ca096'
When method get
Then status 200
And match $.state == 'Active'