apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -16,6 +16,7 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
/**
* @internal
*
* @coversNothing
*/
final class CenterControllerTest extends WebTestCase
@@ -23,18 +24,18 @@ final class CenterControllerTest extends WebTestCase
use PrepareClientTrait;
/**
* This is a smoke test that ensure that the list page does show
* This is a smoke test that ensure that the list page does show.
*/
public function testCenterAdminSmokeTest(): void
{
$client = $this->getClientAuthenticated('admin', 'password');
$crawler = $client->request('GET', '/fr/admin/center');
self::assertResponseIsSuccessful("Test that /fr/admin/center does show");
self::assertResponseIsSuccessful('Test that /fr/admin/center does show');
$btnEdit = $crawler->filter('.btn-edit')?->first();
self::assertNotNull($btnEdit, "check that there is at least one btn-edit on center page");
self::assertNotNull($btnEdit, 'check that there is at least one btn-edit on center page');
$client->click($btnEdit->link());