Thursday, March 29, 2012

Re: CakePHP Controller Testing with DB Sessions

That was just the quick fix I needed right now. Thanks!

On Mar 29, 3:51 am, Mike Griffin <griff...@gmail.com> wrote:
> 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 <runner1...@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 sitehttp://ask.cakephp.organd 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: