Hi,

could you send me the whole testcase? If you don't want to send it to the list, I'll take it via private mail - I'd just like to see what you're actually doing. And yes, you might be right that the FPF is not run on the flowtest.

cheers

felix

On Jan 16, 2009, at 11:21 AM, Jordi Boggiano wrote:

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


--
Felix Gilcher

Bitextender GmbH
Paul-Heyse-Str. 6
D-80336 München

T: +49 89 57 08 15 16
F: +49 89 57 08 15 17
M: +49 172 840 88 28

[email protected]
http://bitextender.com/

Amtsgericht München, HRB 174280
Geschäftsführer: David Zülke, Florian Clever

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to