mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11568] Add method to get page content
PHPBB3-11568
This commit is contained in:
parent
0dd1bbf084
commit
e84fb0c6ca
1 changed files with 10 additions and 0 deletions
|
@ -115,6 +115,16 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||||
return $crawler;
|
return $crawler;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get Client Content
|
||||||
|
*
|
||||||
|
* @return string HTML page
|
||||||
|
*/
|
||||||
|
static public function get_content()
|
||||||
|
{
|
||||||
|
return self::$client->getResponse()->getContent();
|
||||||
|
}
|
||||||
|
|
||||||
// bootstrap, called after board is set up
|
// bootstrap, called after board is set up
|
||||||
// once per test case class
|
// once per test case class
|
||||||
// test cases can override this
|
// test cases can override this
|
||||||
|
|
Loading…
Add table
Reference in a new issue