diff --git a/lib/routes/admin-api/strategy.test.js b/lib/routes/admin-api/strategy.test.js index 49375a33bb..9b32fef8a9 100644 --- a/lib/routes/admin-api/strategy.test.js +++ b/lib/routes/admin-api/strategy.test.js @@ -29,7 +29,7 @@ test.beforeEach(() => { logger.setLevel('FATAL'); }); -test('should add version numbers for /stategies', t => { +test('add version numbers for /stategies', t => { t.plan(1); const { request, base } = getSetup(); @@ -42,7 +42,7 @@ test('should add version numbers for /stategies', t => { }); }); -test('should require a name when creating a new stratey', t => { +test('require a name when creating a new stratey', t => { t.plan(1); const { request, base } = getSetup(); @@ -55,7 +55,7 @@ test('should require a name when creating a new stratey', t => { }); }); -test('should require parameters array when creating a new stratey', t => { +test('require parameters array when creating a new stratey', t => { t.plan(1); const { request, base } = getSetup(); @@ -68,7 +68,7 @@ test('should require parameters array when creating a new stratey', t => { }); }); -test('should create a new stratey with empty parameters', t => { +test('create a new stratey with empty parameters', t => { t.plan(0); const { request, base } = getSetup(); @@ -78,7 +78,7 @@ test('should create a new stratey with empty parameters', t => { .expect(201); }); -test('should not be possible to override name', t => { +test('not be possible to override name', t => { t.plan(0); const { request, base, strategyStore } = getSetup(); strategyStore.addStrategy({ name: 'Testing', parameters: [] }); @@ -89,7 +89,7 @@ test('should not be possible to override name', t => { .expect(403); }); -test('should update strategy', t => { +test('update strategy', t => { t.plan(0); const name = 'AnotherStrat'; const { request, base, strategyStore } = getSetup(); @@ -101,7 +101,7 @@ test('should update strategy', t => { .expect(200); }); -test('should not update uknown strategy', t => { +test('not update uknown strategy', t => { t.plan(0); const name = 'UnknownStrat'; const { request, base } = getSetup(); @@ -112,7 +112,7 @@ test('should not update uknown strategy', t => { .expect(404); }); -test('should validate format when updating strategy', t => { +test('validate format when updating strategy', t => { t.plan(0); const name = 'AnotherStrat'; const { request, base, strategyStore } = getSetup();