diff --git a/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js b/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js index 6220e9a32b9..51d1cc5c7b7 100644 --- a/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js +++ b/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js @@ -126,15 +126,8 @@ describe('Data suite tests', function() { } ]; users.forEach(user => { - cy.createUser(user); + cy.createUserByInvitation(user); }); cy.logout(); - var user = users[0]; - if (!('email' in user)) user.email = user.username + '@mailinator.com'; - if (!('password' in user)) user.password = user.username + user.username; - - cy.login(user.username); - cy.resetPassword(user.username, user.password); - cy.logout(); }); }) diff --git a/lib/pkp b/lib/pkp index bf64b629ef0..a913c60df0b 160000 --- a/lib/pkp +++ b/lib/pkp @@ -1 +1 @@ -Subproject commit bf64b629ef06e515d4a1177142210d3cafc96681 +Subproject commit a913c60df0b20f6db79722badc50944b852d76f0