Currently fixtures are not that sophisticated.  You get all or
nothing.  One solution is to do what websta* suggested and have two
fixtures, or modify the fixture.  But currently fixtures are pretty
unaware with regards to how many records they have / are inserting.

-Mark

On Jan 12, 3:49 pm, David <[email protected]> wrote:
> Hi!
> I am using fixtures for my test methods and I'm not sure if it's
> possible, but I would like to load different records on demand in the
> different test methods. I know that you can load different fixtures
> with loadFixtures() and setting $autoFixtures to false, but I would
> like to load in one method only one record, and in another method like
> 30 records.
> Thanks.
> David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to