[symfony-users] Re: functional tests : issue with auto-increment and userID

2009-10-31 Thread Alexandre SALOME
Isolate your database, delete any other database related to your project, rebuild all the project, check that no other database was created. And finally, look at your log (log/app_env.log). 2009/10/29 Adrien Mogenet adrien.moge...@gmail.com I run tests under 'test' env which works

[symfony-users] Re: functional tests : issue with auto-increment and userID

2009-10-29 Thread Alexandre SALOME
Have you set environments ? a dev, test prod ? Have you different databases ? In which one are you running your tests ? And if you drop all DB except the test, does it works ? 2009/10/27 Adrien Mogenet adrien.moge...@gmail.com Hi everyone, I'm using fixture to fill my database with 3

[symfony-users] Re: functional tests : issue with auto-increment and userID

2009-10-29 Thread Gareth McCumskey
This is the expected behaviour because symfony's load fixture methods dont drop the tables and recreate them. If you drop the database yourself and regenerate it before you run tests, or truncate each table, then you should have things working as you want. On Tue, Oct 27, 2009 at 6:09 PM, Adrien

[symfony-users] Re: functional tests : issue with auto-increment and userID

2009-10-29 Thread Adrien Mogenet
I run tests under 'test' env which works perfectly, using a app-test database :-) The point I would like to figure out is really the issue with the ID that my sfBrowser is returning after signing in, which is different from the ID in Database, but not the first time, just after reloading