mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Tests: allow execution of RouterTest alone, fix tool to execute each test class separately
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* This is to ensure that test class are still independant from each other, after a rework of ItopTestCase, for instance.
|
||||
*/
|
||||
const PHP_EXE = 'php';
|
||||
const ITOP_ROOT = __DIR__.'/../../dev-itop';
|
||||
const ITOP_ROOT = __DIR__.'/../../..';
|
||||
|
||||
const ITOP_PHPUNIT = ITOP_ROOT.'/tests/php-unit-tests';
|
||||
const PHPUNIT_COMMAND = PHP_EXE.' '.ITOP_PHPUNIT.'/vendor/phpunit/phpunit/phpunit';
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Combodo\iTop\Test\UnitTest\Service\Router;
|
||||
|
||||
use Combodo\iTop\Service\Router\Exception\RouteNotFoundException;
|
||||
use Combodo\iTop\Service\Router\Router;
|
||||
use Combodo\iTop\Test\UnitTest\ItopTestCase;
|
||||
use Combodo\iTop\Test\UnitTest\ItopDataTestCase;
|
||||
use utils;
|
||||
|
||||
/**
|
||||
@@ -18,7 +18,7 @@ use utils;
|
||||
* @since 3.1.0
|
||||
* @covers \Combodo\iTop\Service\Router\Router
|
||||
*/
|
||||
class RouterTest extends ItopTestCase
|
||||
class RouterTest extends ItopDataTestCase
|
||||
{
|
||||
/**
|
||||
* @inheritDoc
|
||||
|
||||
Reference in New Issue
Block a user