mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 23:43:12 +00:00
33 lines
656 B
PHP
33 lines
656 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\Controller\Report;
|
|
|
|
/**
|
|
* @group functional
|
|
* @group legacy
|
|
* @group authenticated
|
|
* @group web
|
|
*/
|
|
class RootTest extends \PhraseanetAuthenticatedWebTestCase
|
|
{
|
|
private $dmin;
|
|
private $dmax;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->dmax = new \DateTime('now');
|
|
$this->dmin = new \DateTime('-1 month');
|
|
}
|
|
|
|
public function testRouteDashboard()
|
|
{
|
|
$this->authenticate(self::$DI['app']);
|
|
|
|
self::$DI['client']->request('GET', '/report/dashboard');
|
|
|
|
$response = self::$DI['client']->getResponse();
|
|
|
|
$this->assertTrue($response->isOk());
|
|
}
|
|
}
|