Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions test/sanity-check/api/contentType-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,17 @@ describe('Content Type api Test', () => {
})
.catch(done)
})
it('should update Multi page ContentType Schema without fetch', done => {
makeContentType()
.updateCT(multiPageCT)
.then((contentType) => {
multiPageCTUid = contentType.uid
expect(contentType.uid).to.be.equal(multiPageCT.content_type.uid)
expect(contentType.title).to.be.equal(multiPageCT.content_type.title)
done()
})
.catch(done)
})
// it('should update Multi page ContentType Schema without fetch', done => {
// makeContentType()
// .updateCT(multiPageCT)
// .then((contentType) => {
// multiPageCTUid = contentType.uid
// expect(contentType.uid).to.be.equal(multiPageCT.content_type.uid)
// expect(contentType.title).to.be.equal(multiPageCT.content_type.title)
// done()
// })
// .catch(done)
// })

it('should import content type', done => {
makeContentType().import({
Expand Down