Hmm,I'll have to dig a little deeper here - a quick look reveals that the flowtest does a real dispatch, so the full filterchain should run, including the FPF.
Thanks for the report, I'll look into that when I have the time (maybe sunday :) and get back to you.
cheers felix On Jan 16, 2009, at 11:28 AM, Jordi Boggiano wrote:
On Fri, Jan 16, 2009 at 11:24 AM, Felix Gilcher <[email protected]> wrote: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 theflowtest.There you go, I really don't do anything fancy, copied it all from the sample app ;) public function testNonMatchingPassword() { $this->setRequestMethod('write');$this->setArguments($this- > createRequestDataHolder (array(AgaviWebRequestDataHolder::SOURCE_PARAMETERS=> array( 'username' => 'Jimmy Boy', 'password' => 'Fmlsdkdms', 'password2' => 'mlfkzeomk', 'address' => 'Fribourg, Switzerland', 'email' => '[email protected]', 'fullname' => 'John Smith', )))); $this->dispatch(); $this->assertResponseHasTag(array('tag' => 'body')); $this->assertResponseHasTag(array('tag' => 'span', 'content' => 'Passwords did not match')); } _______________________________________________ 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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
