Skip to content

Commit

Permalink
test: fix periodic Test\Group\DatabaseTest::testSearchGroups failure
Browse files Browse the repository at this point in the history
Signed-off-by: Josh <[email protected]>
  • Loading branch information
joshtrichards authored and backportbot[bot] committed Jan 22, 2025
1 parent 2b3794c commit 7516b09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib/Group/Backend.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 7516b09

Please sign in to comment.