Fix tests
This commit is contained in:
parent
5d457f99e7
commit
6288b5cc51
|
@ -50,21 +50,33 @@ class UserTest extends MockedTest
|
||||||
DI::init($diceMock, true);
|
DI::init($diceMock, true);
|
||||||
|
|
||||||
$this->parent = [
|
$this->parent = [
|
||||||
'uid' => 1,
|
'uid' => 1,
|
||||||
'username' => 'maxmuster',
|
'username' => 'maxmuster',
|
||||||
'nickname' => 'Max Muster'
|
'nickname' => 'Max Muster',
|
||||||
|
'verified' => true,
|
||||||
|
'blocked' => false,
|
||||||
|
'account_removed' => false,
|
||||||
|
'account_expired' => false,
|
||||||
];
|
];
|
||||||
|
|
||||||
$this->child = [
|
$this->child = [
|
||||||
'uid' => 2,
|
'uid' => 2,
|
||||||
'username' => 'johndoe',
|
'username' => 'johndoe',
|
||||||
'nickname' => 'John Doe'
|
'nickname' => 'John Doe',
|
||||||
|
'verified' => true,
|
||||||
|
'blocked' => false,
|
||||||
|
'account_removed' => false,
|
||||||
|
'account_expired' => false,
|
||||||
];
|
];
|
||||||
|
|
||||||
$this->manage = [
|
$this->manage = [
|
||||||
'uid' => 3,
|
'uid' => 3,
|
||||||
'username' => 'janesmith',
|
'username' => 'janesmith',
|
||||||
'nickname' => 'Jane Smith'
|
'nickname' => 'Jane Smith',
|
||||||
|
'verified' => true,
|
||||||
|
'blocked' => false,
|
||||||
|
'account_removed' => false,
|
||||||
|
'account_expired' => false,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user