Fix wrong used type

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2018-11-23 12:38:24 +01:00
parent 695e60228d
commit 99bcc1363e
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
3 changed files with 3 additions and 3 deletions

View File

@ -160,7 +160,7 @@ abstract class Base implements IProvider {
} }
return [ return [
'type' => 'group', 'type' => 'user-group',
'id' => $gid, 'id' => $gid,
'name' => $this->groupDisplayNames[$gid], 'name' => $this->groupDisplayNames[$gid],
]; ];

View File

@ -182,7 +182,7 @@ class BaseTest extends TestCase {
*/ */
public function testGenerateGroupParameter($gid) { public function testGenerateGroupParameter($gid) {
$this->assertEquals([ $this->assertEquals([
'type' => 'group', 'type' => 'user-group',
'id' => $gid, 'id' => $gid,
'name' => $gid, 'name' => $gid,
], $this->invokePrivate($this->provider, 'generateGroupParameter', [$gid])); ], $this->invokePrivate($this->provider, 'generateGroupParameter', [$gid]));

View File

@ -150,7 +150,7 @@ class Groups extends Base {
} }
return [ return [
'type' => 'group', 'type' => 'user-group',
'id' => $gid, 'id' => $gid,
'name' => $this->groupDisplayNames[$gid], 'name' => $this->groupDisplayNames[$gid],
]; ];