test: fix periodic Test\Group\DatabaseTest::testSearchGroups failure

Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
Josh 2025-01-22 10:53:03 -05:00 committed by backportbot[bot]
parent 2b3794c0dd
commit 7516b094c0

View file

@ -122,14 +122,14 @@ abstract class Backend extends \Test\TestCase {
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));
}