diff --git a/tests/src/Integration/PHPCodeSniffer/FinderTest.php b/tests/src/Integration/PHPCodeSniffer/FinderTest.php index b21db6e3a423d3feda77370419c634f9f2d7b224..16add66174154ee500a121c8bf8601b5e63b5151 100644 --- a/tests/src/Integration/PHPCodeSniffer/FinderTest.php +++ b/tests/src/Integration/PHPCodeSniffer/FinderTest.php @@ -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', diff --git a/tests/src/Unit/PHPCodeSniffer/Standard/FactoryTest.php b/tests/src/Unit/PHPCodeSniffer/Standard/FactoryTest.php index 777c7a5e5fc7933bb8086345071067b3566364d3..d62624749a059b5c5868475003eceb37b971276d 100644 --- a/tests/src/Unit/PHPCodeSniffer/Standard/FactoryTest.php +++ b/tests/src/Unit/PHPCodeSniffer/Standard/FactoryTest.php @@ -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); diff --git a/tests/src/Unit/PHPCodeSniffer/Standard/StandardTest.php b/tests/src/Unit/PHPCodeSniffer/Standard/StandardTest.php index 6ab38a79d10646df280c8afc36365ab9a61304de..98d3906580da56cf73ae8bb9fbc00db779c7236b 100644 --- a/tests/src/Unit/PHPCodeSniffer/Standard/StandardTest.php +++ b/tests/src/Unit/PHPCodeSniffer/Standard/StandardTest.php @@ -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'; diff --git a/tests/src/Unit/PHPCodeSniffer/StandardsFactoryTest.php b/tests/src/Unit/PHPCodeSniffer/StandardsFactoryTest.php index 3204c151d18fea715948f7d79971f825aebc0626..8fa8905cbdfd69ddf026e3b7db83c488810b7930 100644 --- a/tests/src/Unit/PHPCodeSniffer/StandardsFactoryTest.php +++ b/tests/src/Unit/PHPCodeSniffer/StandardsFactoryTest.php @@ -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)))