mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
21 lines
554 B
PHP
21 lines
554 B
PHP
<?php
|
|
|
|
require_once __DIR__ . '/../../../../PhraseanetWebTestCaseAuthenticatedAbstract.class.inc';
|
|
|
|
class RootTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
|
{
|
|
protected $client;
|
|
|
|
/**
|
|
* Default route test
|
|
*/
|
|
public function testRouteSlash()
|
|
{
|
|
$this->client->request('GET', '/admin/', array('section' => 'base:featured'));
|
|
$this->assertTrue($this->client->getResponse()->isOk());
|
|
|
|
$this->client->request('GET', '/admin/');
|
|
$this->assertTrue($this->client->getResponse()->isOk());
|
|
}
|
|
}
|