mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #50322 from nextcloud/backport/50319/stable30
[stable30] test(group): fix frequent `testSearchGroups` failure
This commit is contained in:
commit
5bcce6b01f
1 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue