Skip to content

Commit

Permalink
Fix tests to run outside of docker
Browse files Browse the repository at this point in the history
  • Loading branch information
vasa-c committed Oct 14, 2023
1 parent 3a81041 commit da68ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/RealPosixTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public function testAccess(): void
{
$tmp = $this->tmpDir();
$tmp->clear();
$tmp->put('one.txt', '');
$fn = $tmp->getPath('one.txt');
touch($fn);
chmod($fn, 0644);
$this->assertTrue($this->posix->access($fn, PosixConstants::R_OK));
$this->assertFalse($this->posix->access($fn, PosixConstants::X_OK));
Expand Down

0 comments on commit da68ad9

Please sign in to comment.