Skip to content

Commit 451a843

Browse files
Merge pull request #50319 from nextcloud/jtr/fix-testSearchGroups
test(group): fix frequent `testSearchGroups` failure
2 parents cddcbd1 + 79ca27f commit 451a843

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lib/Group/Backend.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ public function testUser(): void {
103103

104104
public function testSearchGroups(): void {
105105
$name1 = $this->getGroupName('foobarbaz');
106-
$name2 = $this->getGroupName('bazbarfoo');
106+
$name2 = $this->getGroupName('bazfoobarfoo');
107107
$name3 = $this->getGroupName('notme');
108108

109109
$this->backend->createGroup($name1);
110110
$this->backend->createGroup($name2);
111111
$this->backend->createGroup($name3);
112112

113-
$result = $this->backend->getGroups('bar');
113+
$result = $this->backend->getGroups('foobar');
114114
$this->assertSame(2, count($result));
115115
}
116116

0 commit comments

Comments
 (0)