diff --git a/src/Components/Script.php b/src/Components/Script.php index 6b7c1af..feb8107 100644 --- a/src/Components/Script.php +++ b/src/Components/Script.php @@ -36,7 +36,7 @@ public function path(): string public function render(): string { return <<<'blade' - blade; } } diff --git a/tests/Components/ScriptTest.php b/tests/Components/ScriptTest.php index 7a5fe9d..61c01c4 100644 --- a/tests/Components/ScriptTest.php +++ b/tests/Components/ScriptTest.php @@ -24,7 +24,7 @@ public function it_renders_the_component() $view = View::file(dirname(__DIR__).'/files/script.blade.php', ['mix' => false, 'crossOrigin' => 'anonymous'])->render(); $expected = <<<'HTML' - HTML; $this->assertStringContainsString( @@ -44,7 +44,7 @@ public function it_uses_mix_when_the_mix_attribute_is_passed() $view = View::file(dirname(__DIR__).'/files/script.blade.php', ['mix' => true, 'crossOrigin' => 'anonymous'])->render(); $expected = <<<'HTML' - HTML; $this->assertStringContainsString( @@ -64,7 +64,7 @@ public function it_uses_the_crossorigin_attribute_if_passed() $view = View::file(dirname(__DIR__).'/files/script.blade.php', ['mix' => false, 'crossOrigin' => 'test'])->render(); $expected = <<<'HTML' - HTML; $this->assertStringContainsString(