made the test suite more compatible with old versions of PHPUnit

This commit is contained in:
Fabien Potencier
2010-05-10 19:30:00 +02:00
parent dc7a48eed1
commit 550edefdef
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
processIsolation="true"
stopOnFailure="false"
syntaxCheck="false"
>
+1 -1
View File
@@ -15,7 +15,7 @@ class Twig_Tests_Extension_SandboxTest extends PHPUnit_Framework_TestCase
{
static protected $params, $templates;
static public function setUpBeforeClass()
public function setUp()
{
self::$params = array(
'name' => 'Fabien',
+1 -1
View File
@@ -15,7 +15,7 @@ class Twig_Tests_TokenStreamTest extends PHPUnit_Framework_TestCase
{
static protected $tokens;
static public function setupBeforeClass()
public function setUp()
{
self::$tokens = array(
new Twig_Token(Twig_Token::TEXT_TYPE, 1, 0),
+1 -1
View File
@@ -15,7 +15,7 @@ class Twig_Tests_IntegrationTest extends PHPUnit_Framework_TestCase
{
static protected $fixturesDir;
static public function setUpBeforeClass()
public function setUp()
{
self::$fixturesDir = realpath(dirname(__FILE__).'/../../fixtures/');
}