Skip to content
Snippets Groups Projects
Commit c699ca7b authored by Daniel Hürtgen's avatar Daniel Hürtgen
Browse files

BUGFIX: Fix test pathes after moving

parent 96fda5a9
No related merge requests found
......@@ -61,7 +61,7 @@ class FinderTest extends \PHPUnit_Framework_TestCase
public function testFinder()
{
$path = realpath(implode(DIRECTORY_SEPARATOR, array(__DIR__, '..', '..', 'Fixtures', 'Standards')));
$path = realpath(implode(DIRECTORY_SEPARATOR, array(__DIR__, '..', '..', '..', 'Fixtures', 'Standards')));
$expected = array(
$path . DIRECTORY_SEPARATOR . 'Standard1',
$path . DIRECTORY_SEPARATOR . 'Standard2',
......
......@@ -49,7 +49,7 @@ class FactoryTest extends \PHPUnit_Framework_TestCase
{
$path = implode(
DIRECTORY_SEPARATOR,
array(__DIR__, '..', '..', '..', 'Fixtures', 'Standards', 'Standard1')
array(__DIR__, '..', '..', '..', '..', 'Fixtures', 'Standards', 'Standard1')
);
$standard = $this->fixture->create($path);
......
......@@ -33,7 +33,7 @@ class StandardTest extends \PHPUnit_Framework_TestCase
$name = 'Standard1';
$path = implode(
DIRECTORY_SEPARATOR,
array(__DIR__, '..', '..', '..', 'Fixtures', 'Standards', $name)
array(__DIR__, '..', '..', '..', '..', 'Fixtures', 'Standards', $name)
);
$ruleSetXmlPath = $path . DIRECTORY_SEPARATOR . 'ruleset.xml';
......
......@@ -72,7 +72,7 @@ class StandardsFactoryTest extends \PHPUnit_Framework_TestCase
$paths = array();
$paths[] = implode(
DIRECTORY_SEPARATOR,
array(__DIR__, '..', '..', 'Fixtures', 'Standards', 'Standard1')
array(__DIR__, '..', '..', '..', 'Fixtures', 'Standards', 'Standard1')
);
$this->standardFactoryMock
->expects($this->exactly(count($paths)))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment