Permalink
Browse files

Make tests rely on include path

git-svn-id: https://svn.php.net/repository/pear/packages/XML_Parser/trunk@240689 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 5b80f6d commit 63c09c7107ae53f2e30525556e9119f6160ed5e9 @cweiske cweiske committed Aug 3, 2007
Showing with 4 additions and 4 deletions.
  1. +1 −1 tests/001.phpt
  2. +1 −1 tests/002.phpt
  3. +1 −1 tests/003.phpt
  4. +1 −1 tests/004.phpt
View
2 tests/001.phpt
@@ -11,7 +11,7 @@ XML Parser: parse simple string
// - parse simple string
//
-require_once "../Parser.php";
+require_once "XML/Parser.php";
class __TestParser1 extends XML_Parser {
function __TestParser1() {
View
2 tests/002.phpt
@@ -12,7 +12,7 @@ XML Parser: parse from file
//
chdir (dirname(__FILE__));
-require_once "../Parser.php";
+require_once "XML/Parser.php";
class __TestParser2 extends XML_Parser {
function __TestParser2() {
View
2 tests/003.phpt
@@ -12,7 +12,7 @@ XML Parser: parse from file resource
//
chdir (dirname(__FILE__));
-require_once "../Parser.php";
+require_once "XML/Parser.php";
class __TestParser3 extends XML_Parser {
function __TestParser3() {
View
2 tests/004.phpt
@@ -9,7 +9,7 @@ XML Parser: error class
// Parts tested: - parser error class
//
-require_once "../Parser.php";
+require_once "XML/Parser.php";
print "new XML_Parser ";
var_dump(get_class($p = new XML_Parser()));

0 comments on commit 63c09c7

Please sign in to comment.