| Index: Tools/GardeningServer/ui/test/ct-failure-stream-tests.html
|
| diff --git a/Tools/GardeningServer/ui/test/ct-failure-stream-tests.html b/Tools/GardeningServer/ui/test/ct-failure-stream-tests.html
|
| index a34aefe321b1d2009275e24ce13474ef60cac05c..638024b6a0a9b0bdfb86356a7188b76d88319969 100644
|
| --- a/Tools/GardeningServer/ui/test/ct-failure-stream-tests.html
|
| +++ b/Tools/GardeningServer/ui/test/ct-failure-stream-tests.html
|
| @@ -26,7 +26,8 @@ describe('ct-failure-stream', function() {
|
| // ct-failure-stream will give these values to ct-commit-data,
|
| // which will hit the network unless we figure out how to mock
|
| // out ct-commit-data in a better way.
|
| - stream.groups = [new CTFailureGroup('a', []), new CTFailureGroup('b', [])];
|
| + stream.groups = [new CTFailureGroup('a', [], undefined),
|
| + new CTFailureGroup('b', [], undefined)];
|
| stream.category = 'default';
|
| setTimeout(function() {
|
| var cards = stream.shadowRoot.querySelectorAll('ct-failure-card');
|
| @@ -40,7 +41,9 @@ describe('ct-failure-stream', function() {
|
|
|
| describe('category', function() {
|
| it('should only show failure groups for the specified category', function(done) {
|
| - stream.groups = [new CTFailureGroup('a', []), new CTFailureGroup('b', [], {snoozeTime: Date.now() + 1000 * 1000})];
|
| + stream.groups = [new CTFailureGroup('a', [], undefined),
|
| + new CTFailureGroup('b', [], undefined,
|
| + {snoozeTime: Date.now() + 1000 * 1000})];
|
| stream.category = 'snoozed';
|
| setTimeout(function() {
|
| var cards = stream.shadowRoot.querySelectorAll('ct-failure-card');
|
|
|