pass rest session creator to scenario
This commit is contained in:
parent
98aafd6abb
commit
afc678fea0
2 changed files with 13 additions and 2 deletions
|
@ -28,7 +28,7 @@ const acceptServerNoticesInviteAndConsent = require('./tests/server-notices-cons
|
|||
const getE2EDeviceFromSettings = require('./tests/e2e-device');
|
||||
const verifyDeviceForUser = require("./tests/verify-device");
|
||||
|
||||
module.exports = async function scenario(createSession) {
|
||||
module.exports = async function scenario(createSession, createRestSession) {
|
||||
async function createUser(username) {
|
||||
const session = await createSession(username);
|
||||
await signup(session, session.username, 'testtest');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue