Skip to content

Commit fde8c61

Browse files
committed
Fix test
Signed-off-by: Pushpak Chhajed <[email protected]>
1 parent 679fd6e commit fde8c61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Feature/Install/GuidelineComposerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@
388388
test('renderContent handles blade and markdown files correctly', function (): void {
389389
$packages = new PackageCollection([
390390
new Package(Packages::LARAVEL, 'laravel/framework', '11.0.0'),
391+
new Package(Packages::VOLT, 'laravel/volt', '1.0.0'),
391392
]);
392393

393394
$this->roster->shouldReceive('packages')->andReturn($packages);
@@ -426,9 +427,8 @@
426427
->toContain('Run `npm install` to install dependencies')
427428
->toContain('Package manager: npm')
428429
// Preserves @volt directives in blade templates
429-
->toContain('=== .ai/test-blade-with-volt-directives rules ===')
430430
->toContain('`@volt`')
431-
->toContain('`@endvolt`')
431+
->toContain('@endvolt')
432432
->not->toContain('volt-anonymous-fragment')
433433
->not->toContain('@livewire');
434434
});

0 commit comments

Comments
 (0)