mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixed simpletest require_once()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56229 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ab2a2eaf79
commit
6b1a6d9856
@ -94,9 +94,9 @@ class TestSession {
|
|||||||
* Get the last response as a SimplePage object
|
* Get the last response as a SimplePage object
|
||||||
*/
|
*/
|
||||||
function lastPage() {
|
function lastPage() {
|
||||||
require_once("testing/simpletest/http.php");
|
require_once("thirdparty/simpletest/http.php");
|
||||||
require_once("testing/simpletest/page.php");
|
require_once("thirdparty/simpletest/page.php");
|
||||||
require_once("testing/simpletest/form.php");
|
require_once("thirdparty/simpletest/form.php");
|
||||||
|
|
||||||
$builder = &new SimplePageBuilder();
|
$builder = &new SimplePageBuilder();
|
||||||
$page = &$builder->parse(new TestSession_STResponseWrapper($this->lastResponse));
|
$page = &$builder->parse(new TestSession_STResponseWrapper($this->lastResponse));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user