Fix wrong used type

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/12624/head
Joas Schilling 7 years ago
parent 695e60228d
commit 99bcc1363e
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
  1. 2
      apps/dav/lib/CalDAV/Activity/Provider/Base.php
  2. 2
      apps/dav/tests/unit/CalDAV/Activity/Provider/BaseTest.php
  3. 2
      apps/files_sharing/lib/Activity/Providers/Groups.php

@ -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…
Cancel
Save