From f11b3864937431d95050fc2a825ed9e88513dbfd Mon Sep 17 00:00:00 2001 From: inoshperera Date: Wed, 12 Jul 2017 12:50:48 +0530 Subject: [PATCH] fixing the integration test issue due to qsg change --- .../org/wso2/iot/integration/samples/MobileQSGTestCase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/integration/tests-integration/src/test/java/org/wso2/iot/integration/samples/MobileQSGTestCase.java b/modules/integration/tests-integration/src/test/java/org/wso2/iot/integration/samples/MobileQSGTestCase.java index 86fd7347..d7bc3f59 100644 --- a/modules/integration/tests-integration/src/test/java/org/wso2/iot/integration/samples/MobileQSGTestCase.java +++ b/modules/integration/tests-integration/src/test/java/org/wso2/iot/integration/samples/MobileQSGTestCase.java @@ -86,8 +86,8 @@ public class MobileQSGTestCase extends TestBase { Constants.APPLICATION_JSON, accessTokenString); HttpResponse response = appManagerRestClient.get(Constants.QSGManagement.GET_MOBILE_APPS_ENDPONT); Assert.assertEquals(response.getResponseCode(), HttpStatus.SC_OK); - Assert.assertTrue(response.getData().contains("Catalog"), - "Catalog app addition through script is not successful"); + Assert.assertTrue(response.getData().contains("NFC"), + "NFC app addition through script is not successful"); } @Test(description = "This test case tests the policy creation through qsg script", dependsOnMethods = {"executeQSGScript"})