cake-php@googlegroups.com
[Top] [All Lists]

Re: CakePHP Controller Testing with DB Sessions

Subject: Re: CakePHP Controller Testing with DB Sessions
From: jcrens8392
Date: Thu, 29 Mar 2012 19:55:25 -0700 PDT
That was just the quick fix I needed right now. Thanks!

On Mar 29, 3:51 am, Mike Griffin <griff...@xxxxxxxxx> 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...@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxx For more options, visit this group at 
http://groups.google.com/group/cake-php

<Prev in Thread] Current Thread [Next in Thread>