Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Pulled in current master into this branch
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 3, 2012
2 parents ba58ad8 + 80fc529 commit a20b034
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/QueryTest.php
Expand Up @@ -195,7 +195,7 @@ public function testXpathPhpFunctionsShouldBeDisableByDefault()
try {
$this->query->queryXpath('//meta[php:functionString("strtolower", @http-equiv) = "content-type"]');
} catch (\Exception $e) {
return ;
return;
}
$this->assertFails('XPath PHPFunctions should be disable by default');
}
Expand All @@ -218,7 +218,7 @@ public function testXpathPhpFunctionsShouldBeNotCalledWhenSpecifiedFunction()
$this->query->queryXpath('//meta[php:functionString("strtolower", @http-equiv) = "content-type"]');
} catch (\Exception $e) {
// $e->getMessage() - Not allowed to call handler 'strtolower()
return ;
return;
}
$this->assertFails('Not allowed to call handler strtolower()');
}
Expand Down

0 comments on commit a20b034

Please sign in to comment.