From e7bb6a3c3add4fbfd8b8635647b9529f8841a264 Mon Sep 17 00:00:00 2001 From: raaaahman Date: Wed, 25 Mar 2020 17:49:59 +0100 Subject: [PATCH] fix: Path to 'approved.txt' file was incorrect Maybe it is dependent on the environment? --- php/test/Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/test/Test.php b/php/test/Test.php index 68cfeb2..d89e4ba 100644 --- a/php/test/Test.php +++ b/php/test/Test.php @@ -17,7 +17,7 @@ public function testLockDownr() $actual = ob_get_contents(); ob_end_clean(); - $expected = file_get_contents('approved.txt'); + $expected = file_get_contents(__DIR__ . '/approved.txt'); $this->assertEquals($expected, $actual); }