Skip to content

Commit 8869b29

Browse files
[TwigBridge][Form] fix tests by moving AbstractBootstrap* cases to the bridge
1 parent d61beda commit 8869b29

8 files changed

+5
-8
lines changed

src/Symfony/Component/Form/Tests/AbstractBootstrap3HorizontalLayoutTest.php renamed to src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3HorizontalLayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Component\Form\Tests;
12+
namespace Symfony\Bridge\Twig\Tests\Extension;
1313

1414
abstract class AbstractBootstrap3HorizontalLayoutTest extends AbstractBootstrap3LayoutTest
1515
{

src/Symfony/Component/Form/Tests/AbstractBootstrap3LayoutTest.php renamed to src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Component\Form\Tests;
12+
namespace Symfony\Bridge\Twig\Tests\Extension;
1313

1414
use Symfony\Component\Form\FormError;
15+
use Symfony\Component\Form\Tests\AbstractLayoutTest;
1516

1617
abstract class AbstractBootstrap3LayoutTest extends AbstractLayoutTest
1718
{

src/Symfony/Component/Form/Tests/AbstractBootstrap4HorizontalLayoutTest.php renamed to src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap4HorizontalLayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Component\Form\Tests;
12+
namespace Symfony\Bridge\Twig\Tests\Extension;
1313

1414
use Symfony\Component\Form\FormError;
1515

src/Symfony/Component/Form/Tests/AbstractBootstrap4LayoutTest.php renamed to src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap4LayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Component\Form\Tests;
12+
namespace Symfony\Bridge\Twig\Tests\Extension;
1313

1414
use Symfony\Component\Form\Extension\Core\Type\ButtonType;
1515
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;

src/Symfony/Bridge/Twig/Tests/Extension/FormExtensionBootstrap3HorizontalLayoutTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Symfony\Bridge\Twig\Tests\Extension\Fixtures\StubFilesystemLoader;
1919
use Symfony\Component\Form\FormRenderer;
2020
use Symfony\Component\Form\FormView;
21-
use Symfony\Component\Form\Tests\AbstractBootstrap3HorizontalLayoutTest;
2221
use Twig\Environment;
2322

2423
class FormExtensionBootstrap3HorizontalLayoutTest extends AbstractBootstrap3HorizontalLayoutTest

src/Symfony/Bridge/Twig/Tests/Extension/FormExtensionBootstrap3LayoutTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Symfony\Bridge\Twig\Tests\Extension\Fixtures\StubFilesystemLoader;
1919
use Symfony\Component\Form\FormRenderer;
2020
use Symfony\Component\Form\FormView;
21-
use Symfony\Component\Form\Tests\AbstractBootstrap3LayoutTest;
2221
use Twig\Environment;
2322

2423
class FormExtensionBootstrap3LayoutTest extends AbstractBootstrap3LayoutTest

src/Symfony/Bridge/Twig/Tests/Extension/FormExtensionBootstrap4HorizontalLayoutTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Symfony\Bridge\Twig\Tests\Extension\Fixtures\StubFilesystemLoader;
1919
use Symfony\Component\Form\FormRenderer;
2020
use Symfony\Component\Form\FormView;
21-
use Symfony\Component\Form\Tests\AbstractBootstrap4HorizontalLayoutTest;
2221
use Twig\Environment;
2322

2423
/**

src/Symfony/Bridge/Twig/Tests/Extension/FormExtensionBootstrap4LayoutTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Symfony\Bridge\Twig\Tests\Extension\Fixtures\StubFilesystemLoader;
1919
use Symfony\Component\Form\FormRenderer;
2020
use Symfony\Component\Form\FormView;
21-
use Symfony\Component\Form\Tests\AbstractBootstrap4LayoutTest;
2221
use Twig\Environment;
2322

2423
/**

0 commit comments

Comments
 (0)