fix cage/sage tests

This commit is contained in:
Jason Calabrese
2016-06-09 15:15:44 -07:00
parent 564ab8304b
commit a0544a3c2d
3 changed files with 19 additions and 1 deletions
+6
View File
@@ -43,6 +43,7 @@ describe('sage', function ( ) {
};
var sbx = sandbox.clientInit(ctx, Date.now(), data);
sage.setProperties(sbx);
sage.updateVisualisation(sbx);
});
@@ -69,6 +70,7 @@ describe('sage', function ( ) {
};
var sbx = sandbox.clientInit(ctx, Date.now(), data);
sage.setProperties(sbx);
sage.updateVisualisation(sbx);
});
@@ -95,6 +97,7 @@ describe('sage', function ( ) {
};
var sbx = sandbox.clientInit(ctx, Date.now(), data);
sage.setProperties(sbx);
sage.updateVisualisation(sbx);
});
@@ -123,6 +126,7 @@ describe('sage', function ( ) {
};
var sbx = sandbox.clientInit(ctx, Date.now(), data);
sage.setProperties(sbx);
sage.updateVisualisation(sbx);
});
@@ -136,6 +140,7 @@ describe('sage', function ( ) {
var sbx = prepareSandbox();
sbx.extendedSettings = { 'enableAlerts': true };
sage.setProperties(sbx);
sage.checkNotifications(sbx);
var highest = ctx.notifications.findHighestAlarm('SAGE');
@@ -153,6 +158,7 @@ describe('sage', function ( ) {
var sbx = prepareSandbox();
sbx.extendedSettings = { 'enableAlerts': true };
sage.setProperties(sbx);
sage.checkNotifications(sbx);
should.not.exist(ctx.notifications.findHighestAlarm('SAGE'));