Heya,
I have a bunch of tests that intend to test the validation of forms,
so they trigger error on purpose and I check if the error messages are
there with :
$this->assertResponseHasTag(array('tag' => 'body'));
$this->assertResponseHasTag(array('tag' => 'span', 'content' =>
'Passwords did not match'));
This somehow doesn't work, I traced $this->response->getContent() that
is used by assertResponseHasTag, and the response is indeed not
containing the expected error messages. My only idea so far is that
the FPF is not executed yet at that point, although it's very possible
I just fucked up somewhere..
Any idea ?
Cheers,
Jordi
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users