Skip to content

Commit 1ee0b9e

Browse files
committed
Submodule update pkp/pkp-lib#9658
1 parent ef4fa4e commit 1ee0b9e

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,8 @@ describe('Data suite tests', function() {
156156
}
157157
]
158158
users.forEach(user => {
159-
cy.createUser(user);
159+
cy.createUserByInvitation(user);
160160
});
161161
cy.logout();
162-
var user = users[0];
163-
if (!('email' in user)) user.email = user.username + '@mailinator.com';
164-
if (!('password' in user)) user.password = user.username + user.username;
165-
166-
cy.login(user.username);
167-
cy.resetPassword(user.username, user.password);
168-
cy.logout();
169162
});
170163
})

0 commit comments

Comments
 (0)