Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Fixes for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
madhawap committed Aug 25, 2016
1 parent 5fdda90 commit b841085
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void testEnrollment() throws Exception {
enrollmentData.addProperty(Constants.DEVICE_IDENTIFIER_KEY, Constants.DEVICE_ID);
MDMResponse response = client.post(Constants.AndroidEnrollment.ENROLLMENT_ENDPOINT,
enrollmentData.toString());
Assert.assertEquals(HttpStatus.SC_CREATED, response.getStatus());
Assert.assertEquals(HttpStatus.SC_OK, response.getStatus());
Assert.assertTrue(response.getBody().contains(Constants.AndroidEnrollment.ENROLLMENT_RESPONSE_PAYLOAD_FOR_POST));
}

Expand Down
20 changes: 10 additions & 10 deletions modules/integration/tests-integration/src/test/resources/testng.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@
<class name="org.wso2.mdm.integration.role.RoleManagement"/>
</classes>
</test>
<!--<test name="policy-mgt" preserve-order="true" parallel="false">-->
<!--<classes>-->
<!--<class name="org.wso2.mdm.integration.policy.AndroidPolicyManagement"/>-->
<!--</classes>-->
<!--</test>-->
<test name="policy-mgt" preserve-order="true" parallel="false">
<classes>
<class name="org.wso2.mdm.integration.policy.AndroidPolicyManagement"/>
</classes>
</test>
<!--<test name="windows-policy-mgt" preserve-order="true" parallel="false">-->
<!--<classes>-->
<!--<class name="org.wso2.mdm.integration.policy.WindowsPolicyManagement"/>-->
Expand All @@ -121,11 +121,11 @@
<class name="org.wso2.mdm.integration.configuration.ConfigurationManagement"/>
</classes>
</test>
<!--<test name="notification-mgt" preserve-order="true" parallel="false">-->
<!--<classes>-->
<!--<class name="org.wso2.mdm.integration.notification.NotificationManagement"/>-->
<!--</classes>-->
<!--</test>-->
<test name="notification-mgt" preserve-order="true" parallel="false">
<classes>
<class name="org.wso2.mdm.integration.notification.NotificationManagement"/>
</classes>
</test>
<test name="certificate-mgt" preserve-order="true" parallel="false">
<classes>
<class name="org.wso2.mdm.integration.certificate.CertificateManagement"/>
Expand Down

0 comments on commit b841085

Please sign in to comment.