diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-03-30 13:59:40 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-03-30 23:26:20 +0300 |
commit | 47abd1f37ebe92a1a3bd64fb2aa4396a3952a86e (patch) | |
tree | 96ad260ffef6b8c74462242ea78b2d9847f0975d /tests | |
parent | 99e2e5f6b9c90397caad27dc9e54cc0c9af28c2c (diff) |
gracefully handle deleteFromSelf when share is already gone
- handling race conditions
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Share20/DefaultShareProviderTest.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/lib/Share20/DefaultShareProviderTest.php b/tests/lib/Share20/DefaultShareProviderTest.php index 24474b11dcf..caea38ea761 100644 --- a/tests/lib/Share20/DefaultShareProviderTest.php +++ b/tests/lib/Share20/DefaultShareProviderTest.php @@ -1558,9 +1558,6 @@ class DefaultShareProviderTest extends \Test\TestCase { public function testDeleteFromSelfGroupUserNotInGroup() { - $this->expectException(\OC\Share20\Exception\ProviderException::class); - $this->expectExceptionMessage('Recipient not in receiving group'); - $qb = $this->dbConn->getQueryBuilder(); $stmt = $qb->insert('share') ->values([ |