Skip to content

Commit b8b09df

Browse files
committed
cleared up test description
1 parent a115522 commit b8b09df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/legacy/plugins/alerting/server/task_runner/task_runner.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ describe('Task Runner', () => {
398398
`);
399399
});
400400

401-
test('recovers gracefully when the Alert Task Runner throws an exception when fetching the ApiKey', async () => {
401+
test('recovers gracefully when the Alert Task Runner throws an exception when fetching the encrypted attributes', async () => {
402402
encryptedSavedObjectsPlugin.getDecryptedAsInternalUser.mockImplementation(() => {
403403
throw new Error('OMG');
404404
});
@@ -458,7 +458,7 @@ describe('Task Runner', () => {
458458
`);
459459
});
460460

461-
test('recovers gracefully when the Alert Task Runner throws an exception when decrypting attributes', async () => {
461+
test('recovers gracefully when the Alert Task Runner throws an exception when fetching attributes', async () => {
462462
savedObjectsClient.get.mockImplementation(() => {
463463
throw new Error('OMG');
464464
});

0 commit comments

Comments
 (0)