diff options
author | Josh <josh.t.richards@gmail.com> | 2025-01-22 10:53:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-22 10:53:03 -0500 |
commit | 79ca27f6a63c17b5b7f603875549dbd6e8e4ff76 (patch) | |
tree | a4a9c2bc31ac9744e053f09379ba1509d85d5367 | |
parent | fe4f40d4dbca96e61a6fdc299405cebedc0ea0cc (diff) | |
download | nextcloud-server-jtr/fix-testSearchGroups.tar.gz nextcloud-server-jtr/fix-testSearchGroups.zip |
test: fix periodic `Test\Group\DatabaseTest::testSearchGroups` failurejtr/fix-testSearchGroups
Signed-off-by: Josh <josh.t.richards@gmail.com>
-rw-r--r-- | tests/lib/Group/Backend.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Group/Backend.php b/tests/lib/Group/Backend.php index 1b6bfe840f8..b55e51b72a4 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(): void { $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)); } |