mirror of
https://github.com/nextcloud/server.git
synced 2026-06-15 03:32:00 -04:00
test: fix periodic Test\Group\DatabaseTest::testSearchGroups failure
Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
parent
2b3794c0dd
commit
7516b094c0
1 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue