blob: 908d9363847b1a1b07b8652278c2e681bf8f8f66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<?php
namespace Helper;
// here you can define custom actions
// all public methods declared in helper class will be available in $I
class Credentials extends \Codeception\Module
{
public function getCredentialsForTestAutor()
{
return [
'id' => 'e7a0a84b161f3e8c09b4a0a2e8a58147',
'username' => 'test_autor',
'password' => 'testing',
];
}
public function getCredentialsForTestDozent()
{
return [
'id' => '205f3efb7997a0fc9755da2b535038da',
'username' => 'test_dozent',
'password' => 'testing',
];
}
public function getCredentialsForTestAdmin()
{
return [
'id' => '6235c46eb9e962866ebdceece739ace5',
'username' => 'test_admin',
'password' => 'testing',
];
}
public function getCredentialsForRoot()
{
return [
'id' => '76ed43ef286fb55cf9e41beadb484a9f',
'username' => 'root@studip',
'password' => 'testing',
];
}
}
|