From: gggeek Date: Sat, 26 Nov 2022 15:06:37 +0000 (+0000) Subject: more fixes for code cov gen upon testing X-Git-Tag: 4.9.0~11 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e8165ed7b3d83a9830b4131f942a2991717f320c;p=plcapi.git more fixes for code cov gen upon testing --- diff --git a/tests/index.php b/tests/index.php index e9796127..93344382 100644 --- a/tests/index.php +++ b/tests/index.php @@ -15,7 +15,7 @@ if (isset($_COOKIE['PHPUNIT_SELENIUM_TEST_ID']) && extension_loaded('xdebug')) { chmod($GLOBALS['PHPUNIT_COVERAGE_DATA_DIRECTORY'], 0777); } - include_once __DIR__ . "/../../vendor/phpunit/phpunit-selenium/PHPUnit/Extensions/SeleniumCommon/prepend.php"; + include_once __DIR__ . "/../vendor/phpunit/phpunit-selenium/PHPUnit/Extensions/SeleniumCommon/prepend.php"; } $targetFile = null; @@ -38,5 +38,5 @@ if ($targetFile) { } if (isset($_COOKIE['PHPUNIT_SELENIUM_TEST_ID']) && extension_loaded('xdebug')) { - include_once __DIR__ . "/../../vendor/phpunit/phpunit-selenium/PHPUnit/Extensions/SeleniumCommon/append.php"; + include_once __DIR__ . "/../vendor/phpunit/phpunit-selenium/PHPUnit/Extensions/SeleniumCommon/append.php"; }