mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-19 08:01:27 +02:00
[ticket/11568] Add method to get page content
PHPBB3-11568
This commit is contained in:
@@ -115,6 +115,16 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
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
|
||||
// once per test case class
|
||||
// test cases can override this
|
||||
|
Reference in New Issue
Block a user