Permalink
Browse files

fixed unit test that doesn't work on PHPUnit 3.5.0+ (refs #17912)

  • Loading branch information...
1 parent 91c6c01 commit f0cf10340e0c09abfd4748da726bc2f65f66a772 @co3k committed with Feb 8, 2011
View
@@ -3,9 +3,7 @@
chdir(dirname(__FILE__));
set_include_path(get_include_path().PATH_SEPARATOR.realpath('../'));
-require_once 'PHPUnit/Framework.php';
-
-PHPUnit_Util_Filter::addFileToFilter(__FILE__);
+require_once 'PHPUnit/Autoload.php';
require_once './checkFixtures.php';
@@ -3,7 +3,7 @@
chdir(dirname(__FILE__));
set_include_path(get_include_path().PATH_SEPARATOR.realpath('../'));
-require_once 'PHPUnit/Framework.php';
+require_once 'PHPUnit/Autoload.php';
require_once 'VersionControl/Git.php';
require_once './checkFixtures.php';
@@ -3,7 +3,7 @@
chdir(dirname(__FILE__));
set_include_path(get_include_path().PATH_SEPARATOR.realpath('../'));
-require_once 'PHPUnit/Framework.php';
+require_once 'PHPUnit/Autoload.php';
require_once 'VersionControl/Git.php';
require_once './checkFixtures.php';
@@ -3,7 +3,7 @@
chdir(dirname(__FILE__));
set_include_path(get_include_path().PATH_SEPARATOR.realpath('../'));
-require_once 'PHPUnit/Framework.php';
+require_once 'PHPUnit/Autoload.php';
require_once 'VersionControl/Git.php';
require_once './checkFixtures.php';
@@ -3,7 +3,7 @@
chdir(dirname(__FILE__));
set_include_path(get_include_path().PATH_SEPARATOR.realpath('../'));
-require_once 'PHPUnit/Framework.php';
+require_once 'PHPUnit/Autoload.php';
require_once 'VersionControl/Git.php';
require_once './checkFixtures.php';
@@ -3,7 +3,7 @@
chdir(dirname(__FILE__));
set_include_path(get_include_path().PATH_SEPARATOR.realpath('../'));
-require_once 'PHPUnit/Framework.php';
+require_once 'PHPUnit/Autoload.php';
require_once 'VersionControl/Git.php';
require_once './checkFixtures.php';
@@ -3,7 +3,7 @@
chdir(dirname(__FILE__));
set_include_path(get_include_path().PATH_SEPARATOR.realpath('../'));
-require_once 'PHPUnit/Framework.php';
+require_once 'PHPUnit/Autoload.php';
require_once 'VersionControl/Git.php';
require_once './checkFixtures.php';
@@ -3,7 +3,7 @@
chdir(dirname(__FILE__));
set_include_path(get_include_path().PATH_SEPARATOR.realpath('../'));
-require_once 'PHPUnit/Framework.php';
+require_once 'PHPUnit/Autoload.php';
require_once 'VersionControl/Git.php';
require_once './checkFixtures.php';
View
@@ -1,7 +1,5 @@
<?php
-PHPUnit_Util_Filter::addFileToFilter(__FILE__);
-
if (!is_dir('./fixtures/001_VersionControl_Git'))
{
if (!is_file('./fixtures.tar.gz'))

0 comments on commit f0cf103

Please sign in to comment.