aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJosh <josh.t.richards@gmail.com>2025-01-22 10:53:03 -0500
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-01-22 17:45:17 +0000
commit7516b094c0d5e37008d47b3cb588a1fffa2cd07e (patch)
tree133b9db8c08e63ab3fc4eb73dd5ee62262a57276 /tests
parent2b3794c0dd0c22a9fe99904cba462f1b6f7c2f5b (diff)
downloadnextcloud-server-7516b094c0d5e37008d47b3cb588a1fffa2cd07e.tar.gz
nextcloud-server-7516b094c0d5e37008d47b3cb588a1fffa2cd07e.zip
test: fix periodic `Test\Group\DatabaseTest::testSearchGroups` failurebackport/50319/stable29
Signed-off-by: Josh <josh.t.richards@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Group/Backend.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Group/Backend.php b/tests/lib/Group/Backend.php
index 541ed78719b..70c3bcae7aa 100644
--- a/tests/lib/Group/Backend.php
+++ b/tests/lib/Group/Backend.php
@@ -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));
}