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 the
> flowtest.

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

Reply via email to