From: Roland Häder Date: Tue, 24 Mar 2009 10:41:25 +0000 (+0000) Subject: More require_once() rewritten to require() X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=f9183eb5c238cc71cdb8891fa816c508b74ba472 More require_once() rewritten to require() --- diff --git a/tests/ConfigTest.php b/tests/ConfigTest.php index adce7b20..888bbdf8 100644 --- a/tests/ConfigTest.php +++ b/tests/ConfigTest.php @@ -20,7 +20,7 @@ FrameworkConfiguration::getInstance()->setConfigEntry('default_application', 'sh define('TEST_MODE', true); // Load the PHPUnit framework -require_once('PHPUnit/Framework.php'); +require('PHPUnit/Framework.php'); print (basename(__FILE__).": Init completed.\n\n"); diff --git a/tests/RegistryTest.php b/tests/RegistryTest.php index 361f305e..93cafa9b 100644 --- a/tests/RegistryTest.php +++ b/tests/RegistryTest.php @@ -20,7 +20,7 @@ FrameworkConfiguration::getInstance()->setConfigEntry('default_application', 'sh define('TEST_MODE', true); // Load the PHPUnit framework -require_once('PHPUnit/Framework.php'); +require('PHPUnit/Framework.php'); print (basename(__FILE__).": Init completed.\n\n"); diff --git a/tests/RequestTest.php b/tests/RequestTest.php index d41d3da1..5c1cc76a 100644 --- a/tests/RequestTest.php +++ b/tests/RequestTest.php @@ -20,7 +20,7 @@ FrameworkConfiguration::getInstance()->setConfigEntry('default_application', 'sh define('TEST_MODE', true); // Load the PHPUnit framework -require_once('PHPUnit/Framework.php'); +require('PHPUnit/Framework.php'); print (basename(__FILE__).": Init completed.\n\n"); diff --git a/tests/Test.php b/tests/Test.php index 3c12cf40..7dba7906 100644 --- a/tests/Test.php +++ b/tests/Test.php @@ -20,7 +20,7 @@ FrameworkConfiguration::getInstance()->setConfigEntry('default_application', 'sh define('TEST_MODE', true); // Load the PHPUnit framework -require_once('PHPUnit/Framework.php'); +require('PHPUnit/Framework.php'); print (basename(__FILE__).": Init completed.\n\n"); die("You need to remove this line (".__LINE__.") and implement this test!\n");