#5620: fixtures not loaded when using autoFixtures = true
------------------------------------------------------+---------------------
Reporter: dz | Type: Bug
Status: new | Priority: Medium
Milestone: 1.2.x.x | Component: Test
Suite
Version: RC3 | Severity: Normal
Keywords: unit tests, fixtures, controllers, dz | Php_version: n/a
Cake_version: revision 7759 |
------------------------------------------------------+---------------------
Hi,[[BR]]
[[BR]]
I have noticed two problems when testing controllers:[[BR]]
[[BR]]
1) when using $autoFixtures = true, I get data from the default database,
not from fixtures[[BR]]
[[BR]]
2) when using $autoFixtures = false, I have to set manually all fixtures
for models that appear on the page, not just for tested model, like for
example dynamically loaded menus in the app controller. (however, I guess
it may be how it is supposed to work, so I am not sure if this one is
really a problem).[[BR]]
[[BR]]
Still, the first one seems to be so.[[BR]]
[[BR]]
thanks, regards[[BR]]
danielz
--
Ticket URL: <https://trac.cakephp.org/ticket/5620>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets 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/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---