Skip to content

Commit

Permalink
Remove unused code in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecote committed Feb 10, 2020
1 parent 36d83c3 commit 31ead6d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions x-pack/legacy/plugins/alerting/server/alerts_client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -802,10 +802,6 @@ describe('create()', () => {

test(`doesn't create API key for disabled alerts`, async () => {
const data = getMockData({ enabled: false });
alertsClientParams.createAPIKey.mockResolvedValueOnce({
apiKeysEnabled: true,
result: { id: '123', api_key: 'abc' },
});
savedObjectsClient.bulkGet.mockResolvedValueOnce({
saved_objects: [
{
Expand Down

0 comments on commit 31ead6d

Please sign in to comment.