update create plan body assertion

This commit is contained in:
Yisroel Baum 2026-04-24 16:07:36 +03:00
parent 8bfc110ed3
commit 6e93bd3872
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -61,7 +61,6 @@ describe('Create plan modal on the home page', () => {
cy.wait('@createPlan').then((createPlanRequest) => { cy.wait('@createPlan').then((createPlanRequest) => {
expect(createPlanRequest.response.statusCode).to.eq(201) expect(createPlanRequest.response.statusCode).to.eq(201)
expect(createPlanRequest.request.body).to.deep.equal({ expect(createPlanRequest.request.body).to.deep.equal({
userId: 0,
textId: 0, textId: 0,
name: 'My reading plan', name: 'My reading plan',
dateStart: '2025-01-01', dateStart: '2025-01-01',