[Fusionforge-commits] r11758 - branches/Branch_5_0/tests/func/Testing

Roland Mas lolando at libremir.placard.fr.eu.org
Fri Dec 10 11:14:54 CET 2010


Author: lolando
Date: 2010-12-10 11:14:53 +0100 (Fri, 10 Dec 2010)
New Revision: 11758

Modified:
   branches/Branch_5_0/tests/func/Testing/SeleniumGforge.php
Log:
Use config file from environment for 5.0 testsuite

Modified: branches/Branch_5_0/tests/func/Testing/SeleniumGforge.php
===================================================================
--- branches/Branch_5_0/tests/func/Testing/SeleniumGforge.php	2010-12-10 09:55:51 UTC (rev 11757)
+++ branches/Branch_5_0/tests/func/Testing/SeleniumGforge.php	2010-12-10 10:14:53 UTC (rev 11758)
@@ -43,7 +43,9 @@
  * ALONE BASIS."
  */
 
-require_once 'func/config.php';
+$config = getenv('CONFIG_PHP') ? getenv('CONFIG_PHP'): dirname(dirname(__FILE__)).'/config.php';
+require_once $config;
+
 require_once 'PHPUnit/Extensions/SeleniumTestCase.php';
 
 class FForge_SeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase




More information about the Fusionforge-commits mailing list