Tests of Cypress changes

This commit is contained in:
ogerly 2019-08-28 09:25:21 +02:00
parent 63549c1101
commit 4a4f1b4475

View File

@ -161,7 +161,8 @@ Given("we have the following posts in our database:", table => {
const userAttributes = { const userAttributes = {
name: Author, name: Author,
email: `${slugify(Author, { lower: true })}@example.org`, email: `${slugify(Author, { lower: true })}@example.org`,
password: "1234" password: "1234",
termsAndConditionsAgreedVersion: '0.0.2',
}; };
postAttributes.deleted = Boolean(postAttributes.deleted); postAttributes.deleted = Boolean(postAttributes.deleted);
const disabled = Boolean(postAttributes.disabled); const disabled = Boolean(postAttributes.disabled);