diff --git a/tests/lib/Group/Backend.php b/tests/lib/Group/Backend.php index 541ed78719b3d..70c3bcae7aa34 100644 --- a/tests/lib/Group/Backend.php +++ b/tests/lib/Group/Backend.php @@ -122,14 +122,14 @@ public function testUser() { public function testSearchGroups() { $name1 = $this->getGroupName('foobarbaz'); - $name2 = $this->getGroupName('bazbarfoo'); + $name2 = $this->getGroupName('bazfoobarfoo'); $name3 = $this->getGroupName('notme'); $this->backend->createGroup($name1); $this->backend->createGroup($name2); $this->backend->createGroup($name3); - $result = $this->backend->getGroups('bar'); + $result = $this->backend->getGroups('foobar'); $this->assertSame(2, count($result)); }