mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 21:43:18 +00:00
23 lines
584 B
PHP
23 lines
584 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
|
|
|
class RootTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
|
{
|
|
protected $client;
|
|
|
|
/**
|
|
* Default route test
|
|
*/
|
|
public function testRouteSlash()
|
|
{
|
|
$this->authenticate(self::$DI['app']);
|
|
|
|
self::$DI['client']->request('GET', '/admin/', array('section' => 'base:featured'));
|
|
$this->assertTrue(self::$DI['client']->getResponse()->isOk());
|
|
|
|
self::$DI['client']->request('GET', '/admin/');
|
|
$this->assertTrue(self::$DI['client']->getResponse()->isOk());
|
|
}
|
|
}
|