mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
20 lines
505 B
PHP
20 lines
505 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\Controller\Client;
|
|
|
|
class RootTest extends \PhraseanetAuthenticatedWebTestCase
|
|
{
|
|
protected $client;
|
|
|
|
public function testGetClient()
|
|
{
|
|
if (!extension_loaded('phrasea2')) {
|
|
$this->markTestSkipped('Phrasea2 is required for this test');
|
|
}
|
|
|
|
$this->authenticate(self::$DI['app']);
|
|
self::$DI['client']->request("GET", "/client/");
|
|
$this->assertTrue(self::$DI['client']->getResponse()->isRedirect());
|
|
}
|
|
}
|