From f62e363ecc03b658084d41c1d8ba66391095f46c Mon Sep 17 00:00:00 2001 From: Chris Di Carlo Date: Thu, 19 Sep 2024 00:23:55 -0400 Subject: [PATCH] Test debugging --- tests/BladeFilesTest.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/BladeFilesTest.php b/tests/BladeFilesTest.php index 54c3425..8f6d882 100644 --- a/tests/BladeFilesTest.php +++ b/tests/BladeFilesTest.php @@ -3,7 +3,7 @@ use ChrisDiCarlo\LaravelConfigChecker\Support\BladeFiles; it('selects the correct files and directories to check', function () { - $files = new BladeFiles(__DIR__.'/fixtures/base'); + $files = new BladeFiles(realpath(__DIR__. 'fixtures/base')); $finder = $files(); @@ -13,9 +13,9 @@ } expect($finder->count())->toBe(2); - expect($filePaths)->toContain(__DIR__.'/fixtures/base/resources/views/test-view-one.blade.php'); - expect($filePaths)->toContain(__DIR__.'/fixtures/base/resources/views/test-view-two.blade.php'); - expect($filePaths)->not()->toContain(__DIR__.'/fixtures/base/app/TestClassOne.php'); - expect($filePaths)->not()->toContain(__DIR__.'/fixtures/base/config/app.php'); - expect($filePaths)->not()->toContain(__DIR__.'/fixtures/base/vendor/VendorClassOne.php'); + expect($filePaths)->toContain(realpath(__DIR__.'/fixtures/base/resources/views/test-view-one.blade.php')); + expect($filePaths)->toContain(realpath(__DIR__.'/fixtures/base/resources/views/test-view-two.blade.php')); + expect($filePaths)->not()->toContain(realpath(__DIR__.'/fixtures/base/app/TestClassOne.php')); + expect($filePaths)->not()->toContain(realpath(__DIR__.'/fixtures/base/config/app.php')); + expect($filePaths)->not()->toContain(realpath(__DIR__.'/fixtures/base/vendor/VendorClassOne.php')); });