summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-10-16 10:57:31 +0200
committerGitHub <noreply@github.com>2020-10-16 10:57:31 +0200
commit8985f4679a12d89ec050dd6dd6ab69be3d6f962c (patch)
tree8812102a5d2cb7121a10ebfb0a2886e52a2ea7a2
parent3d765dafe72766c0d303669b810a24ddc883b2fd (diff)
parent653596b2c9327190c89587150800cfbabb0e5ab2 (diff)
downloadnextcloud-server-8985f4679a12d89ec050dd6dd6ab69be3d6f962c.tar.gz
nextcloud-server-8985f4679a12d89ec050dd6dd6ab69be3d6f962c.zip
Merge pull request #23498 from nextcloud/backport/23492/stable20
[stable20] SharedMountTest.php:367 is unreliable
-rw-r--r--apps/files_sharing/tests/SharedMountTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/SharedMountTest.php b/apps/files_sharing/tests/SharedMountTest.php
index c60039e321a..b5cb02ed3c2 100644
--- a/apps/files_sharing/tests/SharedMountTest.php
+++ b/apps/files_sharing/tests/SharedMountTest.php
@@ -336,6 +336,7 @@ class SharedMountTest extends TestCase {
* @dataProvider dataPermissionMovedGroupShare
*/
public function testPermissionMovedGroupShare($type, $beforePerm, $afterPerm) {
+ $this->markTestSkipped('Unreliable test');
if ($type === 'file') {
$path = $this->filename;
} elseif ($type === 'folder') {
@@ -364,7 +365,7 @@ class SharedMountTest extends TestCase {
// Login as user 2 and verify the item exists
self::loginHelper(self::TEST_FILES_SHARING_API_USER2);
- $this->assertTrue(\OC\Files\Filesystem::file_exists($path));
+ $this->assertTrue(\OC\Files\Filesystem::file_exists($path)); // TODO: unreliable - this is sometimes false
$result = $this->shareManager->getShareById($share->getFullId(), self::TEST_FILES_SHARING_API_USER2);
$this->assertEquals($beforePerm, $result->getPermissions());