mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-06 06:44:59 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -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());
|
||||
|
||||
|
Reference in New Issue
Block a user