[ticket/11568] Add method to get page content

PHPBB3-11568
This commit is contained in:
Joas Schilling 2013-05-28 14:47:24 +02:00
parent 0dd1bbf084
commit e84fb0c6ca

View file

@ -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