Files
Phraseanet/tests/Alchemy/Tests/Phrasea/Controller/Client/RootTest.php
Nicolas Le Goff 3115729da4 Deprecate client
2015-03-11 21:50:36 +01:00

16 lines
375 B
PHP

<?php
namespace Alchemy\Tests\Phrasea\Controller\Client;
class RootTest extends \PhraseanetAuthenticatedWebTestCase
{
protected $client;
public function testGetClient()
{
$this->authenticate(self::$DI['app']);
self::$DI['client']->request("GET", "/client/");
$this->assertTrue(self::$DI['client']->getResponse()->isRedirect());
}
}