Browse Source

Merge pull request #9200 from dashevchenko/alarmCommentTestFix

Alarmcomment test fix
pull/9209/head
Andrew Shvayka 3 years ago
committed by GitHub
parent
commit
120c674a8b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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.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

Loading…
Cancel
Save