Fix wrong used type

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/12836/head
Joas Schilling 2018-11-23 12:38:24 +07:00 committed by Roeland Jago Douma
parent 19d693035b
commit ea33663328
No known key found for this signature in database
GPG Key ID: F941078878347C0C
3 changed files with 3 additions and 3 deletions

@ -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],
];