Thursday, March 29, 2012

Re: CakePHP Controller Testing with DB Sessions

Have you tried creating the cake_sessions table in your test database?

I think you have to manually create the tables in the test database
before you can use them.

Mike.

On Wed, Mar 28, 2012 at 20:57, jcrens8392 <runner1031@gmail.com> wrote:
> Hi all,
>
> I'm new to Cake and had controller test cases working fine.
>
> However, I just recently switched to DB sessions and now all my controller
> test cases throw a MissingTableException:
>
> Table cake_sessions for model Session was not found in datasource test.
>
> I have no idea even where to begin on this. Any ideas!
>
> Thanks!
>
> --
> 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

--
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: