From 9bdb891bb94c545ed4ba3a31b90b5ba70118d9fe Mon Sep 17 00:00:00 2001 From: Nelson Kopliku Date: Tue, 20 Jun 2023 09:54:54 +0200 Subject: [PATCH] Enforce expectation names uniqueness in CheckResultOutline test --- .../ExecutionResults/CheckResultOutline.test.jsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/js/components/ExecutionResults/CheckResultOutline.test.jsx b/assets/js/components/ExecutionResults/CheckResultOutline.test.jsx index 72e2b77914..08d3880b32 100644 --- a/assets/js/components/ExecutionResults/CheckResultOutline.test.jsx +++ b/assets/js/components/ExecutionResults/CheckResultOutline.test.jsx @@ -43,11 +43,11 @@ describe('CheckResultOutline Component', () => { const checkID = faker.datatype.uuid(); const clusterName = faker.lorem.word(); - const expectationName1 = faker.company.name(); - const expectationName2 = faker.color.human(); - const expectationName3 = faker.color.human(); - const expectSameExpectationName1 = faker.lorem.word(); - const expectSameExpectationName2 = faker.lorem.word(); + const expectationName1 = faker.datatype.uuid(); + const expectationName2 = faker.datatype.uuid(); + const expectationName3 = faker.datatype.uuid(); + const expectSameExpectationName1 = faker.datatype.uuid(); + const expectSameExpectationName2 = faker.datatype.uuid(); const expectations = [ catalogExpectExpectationFactory.build({