mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Cleanup Tests
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
namespace Alchemy\Phrasea\Controller\Utils;
|
||||
|
||||
require_once __DIR__ . '/../../../../PhraseanetWebTestCaseAbstract.class.inc';
|
||||
|
||||
require_once __DIR__ . '/../../../../../Alchemy/Phrasea/Controller/Utils/PathFileTest.php';
|
||||
|
||||
/**
|
||||
* Test class for PathFileTest.
|
||||
* Generated by PHPUnit on 2012-01-11 at 18:20:21.
|
||||
*/
|
||||
class ControllerPathFileTestTest extends \PhraseanetWebTestCaseAbstract
|
||||
{
|
||||
|
||||
/**
|
||||
* As controllers use WebTestCase, it requires a client
|
||||
*/
|
||||
protected $client;
|
||||
/**
|
||||
* If the controller tests require some records, specify it her
|
||||
*
|
||||
* For example, this will loacd 2 records
|
||||
* (self::$record_1 and self::$record_2) :
|
||||
*
|
||||
* $need_records = 2;
|
||||
*
|
||||
*/
|
||||
protected static $need_records = false;
|
||||
|
||||
/**
|
||||
* The application loader
|
||||
*/
|
||||
public function createApplication()
|
||||
{
|
||||
return require __DIR__ . '/../../../../../Alchemy/Phrasea/Application/Admin.php';
|
||||
}
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
$this->client = $this->createClient();
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
{
|
||||
$this->feed->delete();
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
/**
|
||||
* Default route test
|
||||
*/
|
||||
public function testRouteSlash()
|
||||
{
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user