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:25:43 +0300 |
commit | 85225cce0ad29e0c9e3ee32d674232c4ee8595e6 (patch) | |
tree | 89058326b1b7a0457d2c9aeb645cd746a4efc603 /tests | |
parent | 2614d99656fa50cda60855347094bc8e641959d2 (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 ef623346d78..b21cec83a4f 100644 --- a/tests/lib/Share20/DefaultShareProviderTest.php +++ b/tests/lib/Share20/DefaultShareProviderTest.php @@ -1575,9 +1575,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([ |