Friday, May 6, 2011

Cakephp testcase trouble

Hi all..

I have trouble in cakephp testcase, I create controller test case and
test one method below:

function testRegister() {
$result = $this->testAction("/users/register");
}

register method just blank method:

function register){

}

and there is one view namely register.ctp in users folder,

when I run testcase from web, mozilla display form download, so the
script is not run...
anyone have same trouble? please share here...

Regards

Agus Zulvani

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: