mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
fix: fixup DefaultShareProviderTest.php
Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
parent
34f3c1736b
commit
d6fcfeeb42
1 changed files with 2 additions and 2 deletions
|
|
@ -1065,7 +1065,7 @@ class DefaultShareProviderTest extends \Test\TestCase {
|
|||
$qb->insert('share')
|
||||
->values([
|
||||
'share_type' => $qb->expr()->literal(IShare::TYPE_GROUP),
|
||||
'share_with' => $qb->expr()->literal('group3'),
|
||||
'share_with' => $qb->expr()->literal('group103'),
|
||||
'uid_owner' => $qb->expr()->literal('shareOwner3'),
|
||||
'uid_initiator' => $qb->expr()->literal('sharedBy3'),
|
||||
'item_type' => $qb->expr()->literal('file'),
|
||||
|
|
@ -1105,7 +1105,7 @@ class DefaultShareProviderTest extends \Test\TestCase {
|
|||
]);
|
||||
$this->assertEquals(1, $qb->execute());
|
||||
|
||||
// getSharedWith() returns a result ordered by id
|
||||
// getSharedWith() returns a result ordered by id (we'll want this when checking the first share (aka $share[0]) later
|
||||
$id = $qb->getLastInsertId();
|
||||
|
||||
$groups = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue