Skip to content

Commit 1769640

Browse files
committed
Rename test component to avoid possible conflicts
1 parent 683dd20 commit 1769640

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/LiveComponent/tests/Fixture/Component/Component6.php renamed to src/LiveComponent/tests/Fixture/Component/FormComponent1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* @author Jakub Caban <[email protected]>
3030
*/
3131
#[AsLiveComponent('component6')]
32-
class Component6 extends AbstractController
32+
class FormComponent1 extends AbstractController
3333
{
3434
use ComponentWithFormTrait;
3535
use DefaultActionTrait;

src/LiveComponent/tests/Unit/Form/ComponentWithFormTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\UX\LiveComponent\Tests\Unit\Form;
1313

1414
use Symfony\Component\Form\Test\TypeTestCase;
15-
use Symfony\UX\LiveComponent\Tests\Fixture\Component\Component6;
15+
use Symfony\UX\LiveComponent\Tests\Fixture\Component\FormComponent1;
1616

1717
/**
1818
* @author Jakub Caban <[email protected]>
@@ -21,7 +21,7 @@ class ComponentWithFormTest extends TypeTestCase
2121
{
2222
public function testFormValues(): void
2323
{
24-
$component = new Component6($this->factory->createBuilder());
24+
$component = new FormComponent1($this->factory->createBuilder());
2525

2626
$this->assertSame(
2727
[

0 commit comments

Comments
 (0)