Skip to content
Snippets Groups Projects
Unverified Commit caa739f9 authored by Christoph Wurst's avatar Christoph Wurst Committed by GitHub
Browse files

Merge pull request #23492 from nextcloud/tests/22305/unreliable-SharedMountTest

SharedMountTest.php:367 is unreliable
parents 17a2f086 512d2edc
No related branches found
No related tags found
No related merge requests found
......@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment