Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit f0cf10340e0c09abfd4748da726bc2f65f66a772 1 parent 91c6c01
@co3k authored committed
View
4 test/AllTest.php
@@ -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';
View
2  test/VersionControl_GitTest.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
2  test/VersionControl_Git_ComponentTest.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
2  test/VersionControl_Git_ObjectTest.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
2  test/VersionControl_Git_Object_BlobTest.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
2  test/VersionControl_Git_Object_CommitTest.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
2  test/VersionControl_Git_Object_TreeTest.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
2  test/VersionControl_Git_Util_CommandTest.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
2  test/checkFixtures.php
@@ -1,7 +1,5 @@
<?php
-PHPUnit_Util_Filter::addFileToFilter(__FILE__);
-
if (!is_dir('./fixtures/001_VersionControl_Git'))
{
if (!is_file('./fixtures.tar.gz'))
Please sign in to comment.
Something went wrong with that request. Please try again.