Skip to content

Commit

Permalink
Test debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdicarlo committed Sep 19, 2024
1 parent c7acac9 commit f62e363
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/BladeFilesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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'));
});

0 comments on commit f62e363

Please sign in to comment.