diff --git a/cypress/support/article.cmd.js b/cypress/support/article.cmd.js index 8d34432..a253a93 100644 --- a/cypress/support/article.cmd.js +++ b/cypress/support/article.cmd.js @@ -18,7 +18,7 @@ Cypress.Commands.add('createArticle', () => { } }) .then((response) => { - expect(response.status).to.eq(200) + expect(response.status).to.eq(201) return response.body.article.slug }) })