IamMujuziMoses commented on a change in pull request #3949:
URL: 
https://github.com/apache/incubator-dolphinscheduler/pull/3949#discussion_r514289583



##########
File path: 
dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/TenantControllerTest.java
##########
@@ -165,7 +163,7 @@ public void testDeleteTenantById() throws Exception {
                 
.andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8))
                 .andReturn();
         Result result = 
JSONUtils.parseObject(mvcResult.getResponse().getContentAsString(), 
Result.class);
-        
Assert.assertEquals(Status.SUCCESS.getCode(),result.getCode().intValue());
+        
Assert.assertEquals(Status.TENANT_NOT_EXIST.getCode(),result.getCode().intValue());

Review comment:
       @dailidong yo needed to update the `testUpdateTenant` also




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to