Add test case for the flash messages that seems to fail when using the site.
This commit is contained in:
parent
b4bc66d288
commit
ca4be5e3ec
@ -127,6 +127,7 @@ class ControllerTest extends TestCase
|
|||||||
|
|
||||||
$body = $response->getBody();
|
$body = $response->getBody();
|
||||||
$body->read($body->getSize());
|
$body->read($body->getSize());
|
||||||
|
// the flash class is in the body for this test case
|
||||||
$this->assertTrue((bool) preg_match('/class\=\"flash/', $body));
|
$this->assertTrue((bool) preg_match('/class\=\"flash/', $body));
|
||||||
|
|
||||||
//$errorMessages = $flash->get('error');
|
//$errorMessages = $flash->get('error');
|
||||||
|
Loading…
Reference in New Issue
Block a user