Skip to content

Commit 3adc817

Browse files
committed
Fix publish Entry test: assert on response.notice (CMA API does not return uid)
1 parent 085cf8c commit 3adc817

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,9 @@ describe('Entry API Tests', () => {
467467
}
468468
})
469469
expect(response).to.be.an('object')
470-
trackedExpect(response.uid ?? response.entry_uid, 'Published entry').toBeA('string')
470+
// CMA Publish Entry API returns { notice } only, not uid/entry_uid
471+
trackedExpect(response.notice, 'Published entry notice').toBeA('string')
472+
expect(response.notice).to.include('performed')
471473
})
472474
})
473475

0 commit comments

Comments
 (0)