Skip to content

Commit

Permalink
removed console log and updated uid in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithad0703 committed Sep 24, 2024
1 parent 799aeec commit 4f03462
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion test/sanity-check/api/entry-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, '-')}`)
Expand Down
3 changes: 2 additions & 1 deletion test/sanity-check/api/ungroupedVariants-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
Expand Down

0 comments on commit 4f03462

Please sign in to comment.