aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Group/Backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Group/Backend.php')
-rw-r--r--tests/lib/Group/Backend.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/lib/Group/Backend.php b/tests/lib/Group/Backend.php
index f702d94b2b4..541ed78719b 100644
--- a/tests/lib/Group/Backend.php
+++ b/tests/lib/Group/Backend.php
@@ -108,15 +108,15 @@ abstract class Backend extends \Test\TestCase {
$this->assertFalse($this->backend->addToGroup($user1, $group1));
- $this->assertEquals(array($user1), $this->backend->usersInGroup($group1));
- $this->assertEquals(array(), $this->backend->usersInGroup($group2));
+ $this->assertEquals([$user1], $this->backend->usersInGroup($group1));
+ $this->assertEquals([], $this->backend->usersInGroup($group2));
- $this->assertEquals(array($group1), $this->backend->getUserGroups($user1));
- $this->assertEquals(array(), $this->backend->getUserGroups($user2));
+ $this->assertEquals([$group1], $this->backend->getUserGroups($user1));
+ $this->assertEquals([], $this->backend->getUserGroups($user2));
$this->backend->deleteGroup($group1);
- $this->assertEquals(array(), $this->backend->getUserGroups($user1));
- $this->assertEquals(array(), $this->backend->usersInGroup($group1));
+ $this->assertEquals([], $this->backend->getUserGroups($user1));
+ $this->assertEquals([], $this->backend->usersInGroup($group1));
$this->assertFalse($this->backend->inGroup($user1, $group1));
}