From f9183eb5c238cc71cdb8891fa816c508b74ba472 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 24 Mar 2009 10:41:25 +0000 Subject: [PATCH] More require_once() rewritten to require() --- tests/ConfigTest.php | 2 +- tests/RegistryTest.php | 2 +- tests/RequestTest.php | 2 +- tests/Test.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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"); -- 2.39.5