Browse Source

fixed testUpdateAlarmCommentViaCustomer test

pull/9200/head
dashevchenko 3 years ago
parent
commit
0363c603e1
  1. 2
      application/src/test/java/org/thingsboard/server/controller/AlarmCommentControllerTest.java

2
application/src/test/java/org/thingsboard/server/controller/AlarmCommentControllerTest.java

@ -136,7 +136,7 @@ public class AlarmCommentControllerTest extends AbstractControllerTest {
Assert.assertEquals("true", updatedAlarmComment.getComment().get("edited").asText()); Assert.assertEquals("true", updatedAlarmComment.getComment().get("edited").asText());
Assert.assertNotNull(updatedAlarmComment.getComment().get("editedOn")); Assert.assertNotNull(updatedAlarmComment.getComment().get("editedOn"));
testLogEntityActionEntityEqClass(alarm, alarm.getId(), tenantId, customerId, customerUserId, CUSTOMER_USER_EMAIL, ActionType.UPDATED_COMMENT, 1, savedComment); testLogEntityActionEntityEqClass(alarm, alarm.getId(), tenantId, customerId, customerUserId, CUSTOMER_USER_EMAIL, ActionType.UPDATED_COMMENT, 1, updatedAlarmComment);
} }
@Test @Test

Loading…
Cancel
Save