* symfony 6.3: removed sensio/framework-extra-bundle * symfony 6.3: update * Symfony 6.3.1 update * chore: composer up * symfony 6.4 update * cs: php-code-fixer update * fix composer.lock * add php-http required dependencies * Fix Stan and CS --------- Co-authored-by: Jérôme Tanghe <jerome.tanghe@les-tilleuls.coop>
25 lines
607 B
PHP
25 lines
607 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Tests\Functional\Controller\Admin\Dev;
|
|
|
|
use App\Test\KernelTrait;
|
|
use App\Tests\TestReference;
|
|
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
|
|
|
final class DevToolsControllerTest extends WebTestCase
|
|
{
|
|
use KernelTrait;
|
|
|
|
/**
|
|
* @see DevToolsController
|
|
*/
|
|
public function testController(): void
|
|
{
|
|
$client = self::createClient();
|
|
$this->loginAsAdmin($client);
|
|
$client->request('GET', \sprintf(TestReference::ADMIN_URL_CUSTOM_CONTROLLER, 'admin_dev_tools'));
|
|
self::assertResponseIsSuccessful();
|
|
}
|
|
}
|