Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 37e83f4

Browse files
committed
Merge pull request #179 from niccokunzmann/clone_cp-e2e-tests
added test users for cp-e2e-tests
2 parents f1de06d + b11fe4d commit 37e83f4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/lib/test-user-data.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ module.exports = function (options) {
88
var plugin = 'test-user-data';
99
var users = [
1010
{ nick: '[email protected]', name: 'Admin', email: '[email protected]', password: 'test', roles: ['cdf-admin'], initUserType: { name: 'champion'}},
11-
{ nick: '[email protected]', name: 'Manager', email: '[email protected]', password: 'test', roles: ['cdf-admin'], initUserType: {name: 'champion'}}
11+
{ nick: '[email protected]', name: 'Manager', email: '[email protected]', password: 'test', roles: ['cdf-admin'], initUserType: {name: 'champion'}},
12+
{ nick: '[email protected]', name: 'Mentor1', email: '[email protected]', password: 'testmentor1', roles: ['basic-user'], initUserType: {name: 'mentor'}},
13+
{ nick: '[email protected]', name: 'Mentor2', email: '[email protected]', password: 'testmentor2', roles: ['basic-user'], initUserType: {name: 'mentor'}},
14+
{ nick: '[email protected]', name: 'Champion1', email: '[email protected]', password: 'testchampion1', roles: ['basic-user'], initUserType: {name: 'champion'}}
1215
];
1316

1417
seneca.add({ role: plugin, cmd: 'insert' }, function (args, done) {

0 commit comments

Comments
 (0)