Skip to content

Commit

Permalink
Fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecote committed Nov 14, 2019
1 parent f6e530e commit e75590f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function createAlertTests({ getService }: FtrProviderContext) {
alertTypeId: 'test.noop',
alertTypeParams: {},
createdBy: user.username,
interval: '10s',
interval: '1m',
scheduledTaskId: response.body.scheduledTaskId,
throttle: '1m',
updatedBy: user.username,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function createFindTests({ getService }: FtrProviderContext) {
id: createdAlert.id,
name: 'abc',
alertTypeId: 'test.noop',
interval: '10s',
interval: '1m',
enabled: true,
actions: [],
alertTypeParams: {},
Expand Down Expand Up @@ -114,7 +114,7 @@ export default function createFindTests({ getService }: FtrProviderContext) {
id: createdAlert.id,
name: 'abc',
alertTypeId: 'test.noop',
interval: '10s',
interval: '1m',
enabled: true,
actions: [],
alertTypeParams: {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function createGetTests({ getService }: FtrProviderContext) {
id: createdAlert.id,
name: 'abc',
alertTypeId: 'test.noop',
interval: '10s',
interval: '1m',
enabled: true,
actions: [],
alertTypeParams: {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export default function createUpdateTests({ getService }: FtrProviderContext) {
.auth(user.username, user.password)
.send({
name: 'bcd',
interval: '10s',
interval: '1m',
throttle: '1m',
alertTypeParams: {},
actions: [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function createAlertTests({ getService }: FtrProviderContext) {
alertTypeId: 'test.noop',
alertTypeParams: {},
createdBy: null,
interval: '10s',
interval: '1m',
scheduledTaskId: response.body.scheduledTaskId,
updatedBy: null,
throttle: '1m',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function createFindTests({ getService }: FtrProviderContext) {
id: createdAlert.id,
name: 'abc',
alertTypeId: 'test.noop',
interval: '10s',
interval: '1m',
enabled: true,
actions: [],
alertTypeParams: {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function createGetTests({ getService }: FtrProviderContext) {
id: createdAlert.id,
name: 'abc',
alertTypeId: 'test.noop',
interval: '10s',
interval: '1m',
enabled: true,
actions: [],
alertTypeParams: {},
Expand Down

0 comments on commit e75590f

Please sign in to comment.