Files
Phraseanet/tests/Alchemy/Tests/Phrasea/Controller/Prod/RootTest.php
Nicolas Le Goff e5b8817c46 PHP CS fix
2014-05-30 15:22:00 +02:00

24 lines
611 B
PHP

<?php
namespace Alchemy\Tests\Phrasea\Controller\Prod;
class RootTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
{
protected $client;
/**
* Default route test
*/
public function testRouteSlash()
{
$this->authenticate(self::$DI['app']);
$crawler = self::$DI['client']->request('GET', '/prod/');
$response = self::$DI['client']->getResponse();
/* @var $response \Symfony\Component\HttpFoundation\Response */
$this->assertEquals(200, $response->getStatusCode());
$this->assertEquals('UTF-8', $response->getCharset());
}
}