From 233b0b41c41f47360f7c9988e7a7063d549c8be5 Mon Sep 17 00:00:00 2001 From: Walter Rafelsberger Date: Tue, 27 Apr 2021 14:43:13 +0200 Subject: [PATCH] Update x-pack/test/functional/services/transform/discover.ts [ML] Fix assertion. Co-authored-by: Robert Oskamp --- x-pack/test/functional/services/transform/discover.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/test/functional/services/transform/discover.ts b/x-pack/test/functional/services/transform/discover.ts index 2c160e669869ae..a98f7e5ae98905 100644 --- a/x-pack/test/functional/services/transform/discover.ts +++ b/x-pack/test/functional/services/transform/discover.ts @@ -32,7 +32,7 @@ export function TransformDiscoverProvider({ getService }: FtrProviderContext) { ).getVisibleText(); expect(actualIndexPatternSwitchLinkText).to.eql( expectedDestinationIndex, - `Destination index should be ${expectedDestinationIndex}, got ${expectedDestinationIndex}` + `Destination index should be ${expectedDestinationIndex}, got ${actualIndexPatternSwitchLinkText}` ); await testSubjects.existOrFail('discoverNoResults');