2021-11-23 14:08:50 +01:00

35 lines
744 B
PHP

<?php
/**
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\CustomFieldsBundle\Tests;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Symfony\Component\HttpFoundation\Response;
/**
* Test that routes are correctly loaded.
*
* @internal
* @coversNothing
*/
class RoutingLoaderTest extends WebTestCase
{
public function testRoutesAreLoaded()
{
$client = static::createClient();
$client->request('GET', '/fr/admin/customfield/');
$this->assertEquals(
Response::HTTP_OK,
$client->getResponse()->getStatusCode()
);
}
}