Skip to content

Commit 4f03462

Browse files
removed console log and updated uid in test case
1 parent 799aeec commit 4f03462

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/sanity-check/api/entry-test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ describe('Entry api Test', () => {
6464
makeEntry(multiPageCT.content_type.uid)
6565
.create({ entry: entryFirst })
6666
.then((entry) => {
67-
console.log("🚀 ~ .then ~ entry:", entry)
6867
expect(entry.uid).to.be.not.equal(null)
6968
expect(entry.title).to.be.equal(entryFirst.title)
7069
expect(entry.url).to.be.equal(`/${entryFirst.title.toLowerCase().replace(/ /g, '-')}`)

test/sanity-check/api/ungroupedVariants-test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ describe('Ungrouped Variants api Test', () => {
6363
})
6464
it('Should fetch variants from array of uids', done => {
6565
makeVariants()
66-
.fetchByUIDs(['variantsUID'])
66+
.fetchByUIDs([variantsUID])
6767
.then((variantsResponse) => {
68+
console.log("🚀 ~ .then ~ variantsResponse:", variantsResponse)
6869
expect(variantsResponse.variants.length).to.be.equal(1)
6970
done()
7071
})

0 commit comments

Comments
 (0)