Skip to content

Commit b81d0fa

Browse files
authored
Merge pull request #23500 from nextcloud/backport/23492/stable18
[stable18] SharedMountTest.php:367 is unreliable
2 parents 6627c35 + d544b56 commit b81d0fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/files_sharing/tests/SharedMountTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ public function dataPermissionMovedGroupShare() {
329329
* @dataProvider dataPermissionMovedGroupShare
330330
*/
331331
public function testPermissionMovedGroupShare($type, $beforePerm, $afterPerm) {
332+
$this->markTestSkipped('Unreliable test');
332333

333334
if ($type === 'file') {
334335
$path = $this->filename;
@@ -358,7 +359,7 @@ public function testPermissionMovedGroupShare($type, $beforePerm, $afterPerm) {
358359

359360
// Login as user 2 and verify the item exists
360361
self::loginHelper(self::TEST_FILES_SHARING_API_USER2);
361-
$this->assertTrue(\OC\Files\Filesystem::file_exists($path));
362+
$this->assertTrue(\OC\Files\Filesystem::file_exists($path)); // TODO: unreliable - this is sometimes false
362363
$result = $this->shareManager->getShareById($share->getFullId(), self::TEST_FILES_SHARING_API_USER2);
363364
$this->assertEquals($beforePerm, $result->getPermissions());
364365

0 commit comments

Comments
 (0)