Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed the phpunit path bootstrapping.

  • Loading branch information...
commit 7a099e69accc0917e9a0c4672b6f488e8bb0eb52 1 parent f944f90
@dhrrgn dhrrgn authored
Showing with 5 additions and 4 deletions.
  1. +1 −1  bootstrap_phpunit.php
  2. +4 −3 phpunit.xml
View
2  bootstrap_phpunit.php
@@ -16,7 +16,7 @@
/**
* Website docroot
*/
-define('DOCROOT', __DIR__.DIRECTORY_SEPARATOR);
+define('DOCROOT', realpath(__DIR__.DIRECTORY_SEPARATOR.$_SERVER['doc_root']).DIRECTORY_SEPARATOR);
( ! is_dir($app_path) and is_dir(DOCROOT.$app_path)) and $app_path = DOCROOT.$app_path;
( ! is_dir($core_path) and is_dir(DOCROOT.$core_path)) and $core_path = DOCROOT.$core_path;
View
7 phpunit.xml
@@ -2,9 +2,10 @@
<phpunit colors="true" stopOnFailure="false" bootstrap="bootstrap_phpunit.php">
<php>
- <server name="app_path" value="../app"/>
- <server name="core_path" value="../core"/>
- <server name="package_path" value="../packages"/>
+ <server name="doc_root" value="../../"/>
+ <server name="app_path" value="fuel/app"/>
+ <server name="core_path" value="fuel/core"/>
+ <server name="package_path" value="fuel/packages"/>
</php>
<testsuites>
<testsuite name="core">
Please sign in to comment.
Something went wrong with that request. Please try again.