From 4f03462cddfda96b3b63b1011632d7bad6b8277d Mon Sep 17 00:00:00 2001 From: "harshitha.d" Date: Tue, 24 Sep 2024 17:18:12 +0530 Subject: [PATCH] removed console log and updated uid in test case --- test/sanity-check/api/entry-test.js | 1 - test/sanity-check/api/ungroupedVariants-test.js | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/sanity-check/api/entry-test.js b/test/sanity-check/api/entry-test.js index 7c6ed958..de4a2ba4 100644 --- a/test/sanity-check/api/entry-test.js +++ b/test/sanity-check/api/entry-test.js @@ -64,7 +64,6 @@ describe('Entry api Test', () => { makeEntry(multiPageCT.content_type.uid) .create({ entry: entryFirst }) .then((entry) => { - console.log("🚀 ~ .then ~ entry:", entry) expect(entry.uid).to.be.not.equal(null) expect(entry.title).to.be.equal(entryFirst.title) expect(entry.url).to.be.equal(`/${entryFirst.title.toLowerCase().replace(/ /g, '-')}`) diff --git a/test/sanity-check/api/ungroupedVariants-test.js b/test/sanity-check/api/ungroupedVariants-test.js index dd221597..7a4c498f 100644 --- a/test/sanity-check/api/ungroupedVariants-test.js +++ b/test/sanity-check/api/ungroupedVariants-test.js @@ -63,8 +63,9 @@ describe('Ungrouped Variants api Test', () => { }) it('Should fetch variants from array of uids', done => { makeVariants() - .fetchByUIDs(['variantsUID']) + .fetchByUIDs([variantsUID]) .then((variantsResponse) => { + console.log("🚀 ~ .then ~ variantsResponse:", variantsResponse) expect(variantsResponse.variants.length).to.be.equal(1) done() })