Fix tests

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-05-06 09:34:38 +02:00
parent 611f9ff6a5
commit fc5c34897e
7 changed files with 15 additions and 13 deletions

View File

@@ -38,7 +38,8 @@ class GroupTest extends \Test\TestCase {
$groupRelationalObject = new Group($group);
$expected = [
'uid' => 'mygroup',
'displayname' => 'My Group'
'displayname' => 'My Group',
'type' => 1
];
$this->assertEquals($expected, $groupRelationalObject->getObjectSerialization());
}
@@ -56,7 +57,8 @@ class GroupTest extends \Test\TestCase {
$expected = [
'uid' => 'mygroup',
'displayname' => 'My Group',
'primaryKey' => '1:mygroup'
'primaryKey' => 'mygroup',
'type' => 1
];
$actual = $groupRelationalObject->jsonSerialize();