diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-03-30 12:59:40 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-03-30 12:59:40 +0200 |
commit | be3ae9a44b29187beae996130c1d7f6b3d3207d0 (patch) | |
tree | 999e52faa7f500adf437fe314940af03d97d640f /tests | |
parent | 08209e649cb0e411895430e4f28a29d14e269fb5 (diff) | |
download | nextcloud-server-be3ae9a44b29187beae996130c1d7f6b3d3207d0.tar.gz nextcloud-server-be3ae9a44b29187beae996130c1d7f6b3d3207d0.zip |
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 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([ |