mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-17 15:54:23 +00:00
35 lines
744 B
PHP
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()
|
|
);
|
|
}
|
|
}
|