Skip to content

Commit 17de017

Browse files
author
cx-Margarita-LevitM
committed
Fix test
1 parent 6ecf17a commit 17de017

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tests/LearnMoreDescriptions.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ describe("LearnMoreDescriptions cases",() => {
1414

1515
it('LearnMoreDescriptions Failure case', async () => {
1616
const auth = new CxWrapper(cxScanConfig);
17-
const data = await auth.learnMore("")
17+
const queryId = "";
18+
const data = await auth.learnMore(queryId !== undefined? queryId : "")
1819
const cxCommandOutput: CxCommandOutput = data;
1920
expect(cxCommandOutput.status).toBe("Value of query-id is invalid\n");
2021
})

0 commit comments

Comments
 (0)