[Solar-svn] Revision 2644

pmjones at solarphp.com pmjones at solarphp.com
Sun Jul 29 10:36:18 CDT 2007


Branch: modify test harness for ORM branch



Modified: branches/orm/tests/SolarUnitTest.config.php
===================================================================
--- branches/orm/tests/SolarUnitTest.config.php	2007-07-29 15:29:18 UTC (rev 2643)
+++ branches/orm/tests/SolarUnitTest.config.php	2007-07-29 15:36:17 UTC (rev 2644)
@@ -39,7 +39,7 @@
  * include_path.
  *
  */
-$config['solar_path'] = dirname(__FILE__) . '/../../';
+$config['solar_path'] = realpath(dirname(__FILE__) . '/../');
 
 
 /**

Modified: branches/orm/tests/configRunner.php
===================================================================
--- branches/orm/tests/configRunner.php	2007-07-29 15:29:18 UTC (rev 2643)
+++ branches/orm/tests/configRunner.php	2007-07-29 15:36:17 UTC (rev 2644)
@@ -26,9 +26,9 @@
 // add path for test support directory and give priority.
 set_include_path($config['support_path'] . PATH_SEPARATOR . get_include_path());
 
-// set PHPUnit3 path, making sure it's first on the list
+// set PHPUnit3 path, making sure it's LAST on the list
 if (isset($config['phpUnit_path'])) {
-    set_include_path($config['phpUnit_path'] . PATH_SEPARATOR . get_include_path());
+    set_include_path(get_include_path() . PATH_SEPARATOR . $config['phpUnit_path']);
 }
 
 // set support path constant




More information about the Solar-svn mailing list