Author: chabotc
Date: Fri Dec 5 01:52:32 2008
New Revision: 723696
URL: http://svn.apache.org/viewvc?rev=723696&view=rev
Log:
update the test php files to use the new config.php locations
Modified:
incubator/shindig/trunk/php/test/ShindigAllTests.php
incubator/shindig/trunk/php/test/index.php
Modified: incubator/shindig/trunk/php/test/ShindigAllTests.php
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/test/ShindigAllTests.php?rev=723696&r1=723695&r2=723696&view=diff
==============================================================================
--- incubator/shindig/trunk/php/test/ShindigAllTests.php (original)
+++ incubator/shindig/trunk/php/test/ShindigAllTests.php Fri Dec 5 01:52:32
2008
@@ -47,7 +47,7 @@
set_include_path(get_include_path() . PATH_SEPARATOR . realpath('./php') .
PATH_SEPARATOR . realpath('./php/external'));
ini_set('error_reporting', E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR);
-require_once 'config.php';
+require_once 'src/common/Config.php';
require_once 'test/TestContext.php';
if (defined('PHPUnit_MAIN_METHOD') === false) {
@@ -80,4 +80,4 @@
if (PHPUnit_MAIN_METHOD === 'ShindigAllTests::main') {
ShindigAllTests::main();
-}
\ No newline at end of file
+}
Modified: incubator/shindig/trunk/php/test/index.php
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/test/index.php?rev=723696&r1=723695&r2=723696&view=diff
==============================================================================
--- incubator/shindig/trunk/php/test/index.php (original)
+++ incubator/shindig/trunk/php/test/index.php Fri Dec 5 01:52:32 2008
@@ -23,7 +23,7 @@
require_once "PHPUnit/Framework/TestSuite.php";
require_once "PHPUnit/TextUI/TestRunner.php";
-require_once realpath('../') . "/config.php";
+require_once realpath('../') . "/src/common/Config.php";
require_once realpath('../') . "/test/TestContext.php";
function __autoload($className) {