Files
Phraseanet/tests/Alchemy/Tests/Phrasea/Controller/Client/RootTest.php
2015-06-15 19:30:51 +02:00

22 lines
459 B
PHP

<?php
namespace Alchemy\Tests\Phrasea\Controller\Client;
/**
* @group functional
* @group legacy
* @group authenticated
* @group web
*/
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());
}
}