mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -17,6 +17,7 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
class ClosingMotiveRenderTest extends KernelTestCase
|
||||
@@ -31,7 +32,6 @@ class ClosingMotiveRenderTest extends KernelTestCase
|
||||
|
||||
/**
|
||||
* @dataProvider provideClosingMotiveWithRenderString
|
||||
* @return void
|
||||
*/
|
||||
public function testRenderString(ClosingMotive $closingMotive, string $expected): void
|
||||
{
|
||||
@@ -42,14 +42,12 @@ class ClosingMotiveRenderTest extends KernelTestCase
|
||||
|
||||
/**
|
||||
* @dataProvider provideClosingMotiveWithRenderString
|
||||
* @return void
|
||||
*/
|
||||
public function testRenderBox(ClosingMotive $closingMotive, string $expectedContent): void
|
||||
{
|
||||
$actual = strip_tags(self::$closingMotiveRender->renderBox($closingMotive, []));
|
||||
|
||||
self::assertStringContainsString($expectedContent, $actual);
|
||||
|
||||
}
|
||||
|
||||
public function provideClosingMotiveWithRenderString(): iterable
|
||||
@@ -73,9 +71,5 @@ class ClosingMotiveRenderTest extends KernelTestCase
|
||||
$closingMotiveParent->addChildren($closingMotive);
|
||||
|
||||
yield [$closingMotive, 'Parent > Children (annulé)'];
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user