Skip to content

Commit 9c19fcb

Browse files
committed
Fix test failures
1 parent 81a8f66 commit 9c19fcb

File tree

1 file changed

+3
-3
lines changed
  • components/apimgt/org.wso2.carbon.apimgt.impl/src/test/java/org/wso2/carbon/apimgt/impl/dao/test

1 file changed

+3
-3
lines changed

components/apimgt/org.wso2.carbon.apimgt.impl/src/test/java/org/wso2/carbon/apimgt/impl/dao/test/APIMgtDAOTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ public void testGetAPIGatewayVendorByUUID() throws Exception {
824824
api.setContextTemplate("/getAPIGatewayVendorByApiUUID/{version}");
825825
String apiUUID = UUID.randomUUID().toString();
826826
api.setUUID(apiUUID);
827-
api.setGatewayVendor("testGatewayVendor");
827+
api.setGatewayType("testGatewayVendor");
828828
apiMgtDAO.addAPI(api, -1234, "testOrg");
829829
String gatewayVendor = apiMgtDAO
830830
.getGatewayVendorByAPIUUID(apiUUID);
@@ -843,11 +843,11 @@ public void testAPIGatewayTypeHandling() throws Exception {
843843
String apiUUID = UUID.randomUUID().toString();
844844
api.setUUID(apiUUID);
845845
api.setGatewayVendor("wso2");
846-
api.setGatewayType("wso2/choreo-connect");
846+
api.setGatewayType("APK");
847847
apiMgtDAO.addAPI(api, -1234, "testOrg");
848848
String gatewayVendor = apiMgtDAO.getGatewayVendorByAPIUUID(apiUUID);
849849
assertNotNull(gatewayVendor);
850-
assertTrue(gatewayVendor.equals("wso2"));
850+
assertTrue(gatewayVendor.equals("APK"));
851851
apiMgtDAO.deleteAPI(api.getUuid());
852852
}
853853

0 commit comments

Comments
 (0)