From a412dfbb9cf49b179f9b6a49c2f5639a29c50ea7 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 28 May 2010 08:27:32 +0200 Subject: [PATCH] added bootstrap option to phpunit.xml --- phpunit.xml | 1 + test/Twig/Tests/AutoloaderTest.php | 2 -- test/Twig/Tests/Extension/SandboxTest.php | 2 -- test/Twig/Tests/TokenStreamTest.php | 2 -- test/Twig/Tests/integrationTest.php | 2 -- 5 files changed, 1 insertions(+), 8 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index d01af55..80ccf2b 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -9,6 +9,7 @@ processIsolation="true" stopOnFailure="false" syntaxCheck="false" + bootstrap="test/Twig/Tests/bootstrap.php" > diff --git a/test/Twig/Tests/AutoloaderTest.php b/test/Twig/Tests/AutoloaderTest.php index cf696c9..e572284 100644 --- a/test/Twig/Tests/AutoloaderTest.php +++ b/test/Twig/Tests/AutoloaderTest.php @@ -9,8 +9,6 @@ * file that was distributed with this source code. */ -require_once dirname(__FILE__).'/bootstrap.php'; - class Twig_Tests_AutoloaderTest extends PHPUnit_Framework_TestCase { public function testAutoload() diff --git a/test/Twig/Tests/Extension/SandboxTest.php b/test/Twig/Tests/Extension/SandboxTest.php index 25f4d01..eced784 100644 --- a/test/Twig/Tests/Extension/SandboxTest.php +++ b/test/Twig/Tests/Extension/SandboxTest.php @@ -9,8 +9,6 @@ * file that was distributed with this source code. */ -require_once dirname(__FILE__).'/../bootstrap.php'; - class Twig_Tests_Extension_SandboxTest extends PHPUnit_Framework_TestCase { static protected $params, $templates; diff --git a/test/Twig/Tests/TokenStreamTest.php b/test/Twig/Tests/TokenStreamTest.php index 11a1f2e..341773c 100644 --- a/test/Twig/Tests/TokenStreamTest.php +++ b/test/Twig/Tests/TokenStreamTest.php @@ -9,8 +9,6 @@ * file that was distributed with this source code. */ -require_once dirname(__FILE__).'/bootstrap.php'; - class Twig_Tests_TokenStreamTest extends PHPUnit_Framework_TestCase { static protected $tokens; diff --git a/test/Twig/Tests/integrationTest.php b/test/Twig/Tests/integrationTest.php index c193575..8adbac7 100644 --- a/test/Twig/Tests/integrationTest.php +++ b/test/Twig/Tests/integrationTest.php @@ -9,8 +9,6 @@ * file that was distributed with this source code. */ -require_once dirname(__FILE__).'/bootstrap.php'; - class Twig_Tests_IntegrationTest extends PHPUnit_Framework_TestCase { static protected $fixturesDir; -- 1.7.2.5