Fix wrong used type
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
695e60228d
commit
99bcc1363e
|
@ -160,7 +160,7 @@ abstract class Base implements IProvider {
|
|||
}
|
||||
|
||||
return [
|
||||
'type' => 'group',
|
||||
'type' => 'user-group',
|
||||
'id' => $gid,
|
||||
'name' => $this->groupDisplayNames[$gid],
|
||||
];
|
||||
|
|
|
@ -182,7 +182,7 @@ class BaseTest extends TestCase {
|
|||
*/
|
||||
public function testGenerateGroupParameter($gid) {
|
||||
$this->assertEquals([
|
||||
'type' => 'group',
|
||||
'type' => 'user-group',
|
||||
'id' => $gid,
|
||||
'name' => $gid,
|
||||
], $this->invokePrivate($this->provider, 'generateGroupParameter', [$gid]));
|
||||
|
|
|
@ -150,7 +150,7 @@ class Groups extends Base {
|
|||
}
|
||||
|
||||
return [
|
||||
'type' => 'group',
|
||||
'type' => 'user-group',
|
||||
'id' => $gid,
|
||||
'name' => $this->groupDisplayNames[$gid],
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue