fix: fixup DefaultShareProviderTest.php

Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
Josh 2025-08-30 08:45:56 -04:00 committed by GitHub
parent 34f3c1736b
commit d6fcfeeb42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = [];