ebs/tests/Functional/Controller/Admin/Dev/DevToolsControllerTest.php
2023-12-21 08:49:38 +01:00

25 lines
606 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();
}
}