diff --git a/tests/Methods/LibraryTest.php b/tests/Methods/LibraryTest.php index f375e39..a54cf18 100644 --- a/tests/Methods/LibraryTest.php +++ b/tests/Methods/LibraryTest.php @@ -12,7 +12,7 @@ class LibraryTest extends TestCase */ public function testResourcesDir($expected, $projectPath) { - $path = __DIR__ . '/fixtures/projects/' . $projectPath; + $path = __DIR__ . '/../fixtures/projects/' . $projectPath; $lib = new Library($path, 'vendor/silverstripe/skynet'); $this->assertEquals($expected, $lib->getResourcesDir()); } @@ -29,7 +29,7 @@ public function resourcesDirProvider() public function testInvalidResourceDir() { $this->expectException(\LogicException::class); - $path = __DIR__ . '/fixtures/projects/ss44InvalidResourcesDir'; + $path = __DIR__ . '/../fixtures/projects/ss44InvalidResourcesDir'; $lib = new Library($path, 'vendor/silverstripe/skynet'); $lib->getResourcesDir(); }