Navigation Menu

Skip to content

Commit

Permalink
Make tests rely on include path
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.php.net/repository/pear/packages/XML_Parser/trunk@240689 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
cweiske committed Aug 3, 2007
1 parent 5b80f6d commit 63c09c7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/001.phpt
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion tests/002.phpt
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion tests/003.phpt
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion tests/004.phpt
Expand Up @@ -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()));
Expand Down

0 comments on commit 63c09c7

Please sign in to comment.