Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2021-03-30 13:59:40 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2021-03-30 13:59:40 +0300
commitbe3ae9a44b29187beae996130c1d7f6b3d3207d0 (patch)
tree999e52faa7f500adf437fe314940af03d97d640f /tests
parent08209e649cb0e411895430e4f28a29d14e269fb5 (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.php3
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([