From be3ae9a44b29187beae996130c1d7f6b3d3207d0 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 30 Mar 2021 12:59:40 +0200 Subject: gracefully handle deleteFromSelf when share is already gone - handling race conditions Signed-off-by: Arthur Schiwon --- tests/lib/Share20/DefaultShareProviderTest.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests') diff --git a/tests/lib/Share20/DefaultShareProviderTest.php b/tests/lib/Share20/DefaultShareProviderTest.php index f6ce4894dbb..40626bdb571 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([ -- cgit v1.2.3