aboutsummaryrefslogtreecommitdiffstats
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:46:56 +0000
commit4d31d418c2149425dc51fd559cbc51bed2820b72 (patch)
treec6369e5085822c44c8c90817824c903e2e99db43
parentbb57c9e0ac4d95f331e9bb3107c3449b969874b4 (diff)
downloadnextcloud-server-4d31d418c2149425dc51fd559cbc51bed2820b72.tar.gz
nextcloud-server-4d31d418c2149425dc51fd559cbc51bed2820b72.zip
test: fix periodic `Test\Group\DatabaseTest::testSearchGroups` failurebackport/50319/stable30
Signed-off-by: Josh <josh.t.richards@gmail.com>
-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 7eb71d0f22c..3b071bb1906 100644
--- a/tests/lib/Group/Backend.php
+++ b/tests/lib/Group/Backend.php
@@ -103,14 +103,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));
}