hey thanks amit... it worked but not its giving following error. Error: Database table user_tests for model SiteTest was not found. what to do? please help
On Apr 18, 10:45 am, "Amit Badkas" <[EMAIL PROTECTED]> wrote: > On Fri, Apr 18, 2008 at 10:54 AM, bhushan A <[EMAIL PROTECTED]> > wrote: > > > > > I have followed the steps given in "http://bakery.cakephp.org/ > > articles/view/testing-models-with-cakephp-1-2-test-suite<http://bakery.cakephp.org/articles/view/testing-models-with-cakephp-1...>" > > link. But > > still I am gettng 'Fatal error: Class 'User' not found in /tests/cases/ > > models/user.test.php' I am putting my user.test.php's code here. > > Please let me know what i am missing. > > > <?php > > App::import('User','User'); > > - You need to do App::import('Model', 'User'); here > > -- > Regards, > Amit > > http://amitrb.wordpress.com/http://coppermine-gallery.net/http://cheesecake-photoblog.org/http://www.sanisoft.com/blog/author/amitbadkas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
