mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
22 lines
459 B
PHP
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());
|
|
}
|
|
}
|