@@ -782,7 +782,7 @@ public function test_dynamic_view_component_with_string_name(): void
782782 $ this ->registerViewComponent ('x-test ' , '<div>{{ $prop }}</div> ' );
783783
784784 $ html = $ this ->render (<<<'HTML'
785- <x-dynamic- component is="x-test" prop="test"/>
785+ <x-component is="x-test" prop="test"/>
786786 HTML);
787787
788788 $ this ->assertSame ('<div>test</div> ' , $ html );
@@ -793,7 +793,7 @@ public function test_dynamic_view_component_with_expression_name(): void
793793 $ this ->registerViewComponent ('x-test ' , '<div>{{ $prop }}</div> ' );
794794
795795 $ html = $ this ->render (<<<'HTML'
796- <x-dynamic- component :is="$name" prop="test" />
796+ <x-component :is="$name" prop="test" />
797797 HTML, name: 'x-test ' );
798798
799799 $ this ->assertSame ('<div>test</div> ' , $ html );
@@ -804,7 +804,7 @@ public function test_dynamic_view_component_with_variable_attribute(): void
804804 $ this ->registerViewComponent ('x-test ' , '<div>{{ $prop }}</div> ' );
805805
806806 $ html = $ this ->render (<<<'HTML'
807- <x-dynamic- component :is="$name" :prop="$input" />
807+ <x-component :is="$name" :prop="$input" />
808808 HTML, name: 'x-test ' , input: 'test ' );
809809
810810 $ this ->assertSame ('<div>test</div> ' , $ html );
0 commit comments