|
|
|
@ -136,7 +136,7 @@ public class AlarmControllerTest extends AbstractControllerTest { |
|
|
|
Assert.assertEquals(AlarmSeverity.MAJOR, updatedAlarm.getSeverity()); |
|
|
|
|
|
|
|
AlarmInfo foundAlarm = doGet("/api/alarm/info/" + updatedAlarm.getId(), AlarmInfo.class); |
|
|
|
testNotifyEntityAllOneTime(foundAlarm, updatedAlarm.getId(), updatedAlarm.getOriginator(), |
|
|
|
testNotifyEntityOneTimeMsgToEdgeServiceNever(foundAlarm, updatedAlarm.getId(), updatedAlarm.getOriginator(), |
|
|
|
tenantId, customerId, customerUserId, CUSTOMER_USER_EMAIL, ActionType.UPDATED); |
|
|
|
} |
|
|
|
|
|
|
|
@ -153,7 +153,7 @@ public class AlarmControllerTest extends AbstractControllerTest { |
|
|
|
Assert.assertEquals(AlarmSeverity.MAJOR, updatedAlarm.getSeverity()); |
|
|
|
|
|
|
|
AlarmInfo foundAlarm = doGet("/api/alarm/info/" + updatedAlarm.getId(), AlarmInfo.class); |
|
|
|
testNotifyEntityAllOneTime(foundAlarm, foundAlarm.getId(), foundAlarm.getOriginator(), |
|
|
|
testNotifyEntityOneTimeMsgToEdgeServiceNever(foundAlarm, foundAlarm.getId(), foundAlarm.getOriginator(), |
|
|
|
tenantId, customerId, tenantAdminUserId, TENANT_ADMIN_EMAIL, ActionType.UPDATED); |
|
|
|
|
|
|
|
alarm = updatedAlarm; |
|
|
|
|