From 26c0cf3d4f084423d45a720b811297055cd4c539 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Mon, 28 May 2018 18:48:20 +0200 Subject: [PATCH] Don't check permissions of the just created node --- tests/Adapters/DirectoryTest.php | 1 - tests/Adapters/FileTest.php | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/Adapters/DirectoryTest.php b/tests/Adapters/DirectoryTest.php index fe58cc9b..d5694b8a 100644 --- a/tests/Adapters/DirectoryTest.php +++ b/tests/Adapters/DirectoryTest.php @@ -70,7 +70,6 @@ public function testCreate(LoopInterface $loop, FilesystemInterface $filesystem) $dir = $this->tmpDir . 'path'; $this->await($filesystem->dir($dir)->createRecursive(), $loop); $this->assertTrue(file_exists($dir)); - $this->assertSame('0760', substr(sprintf('%o', fileperms($dir)), -4)); } /** diff --git a/tests/Adapters/FileTest.php b/tests/Adapters/FileTest.php index 863677c7..ab52a95f 100644 --- a/tests/Adapters/FileTest.php +++ b/tests/Adapters/FileTest.php @@ -117,7 +117,6 @@ public function testCreate(LoopInterface $loop, FilesystemInterface $filesystem) $this->assertFileNotExists($tempFile); $this->await($filesystem->file($tempFile)->create(), $loop); $this->assertFileExists($tempFile); - $this->assertSame('0760', substr(sprintf('%o', fileperms($tempFile)), -4)); } /**