cakephp2-php8/lib
mark_story 9d1fbb95b3 Allow datasource access in constructors of mocked models.
When mock objects are created from models that access their datasource
in the constructor, an exception would be raised for the missing default
datasource. By changing how configuration data is handled in the mock
creation we can avoid this issue and not reopen #4867

Refs #8225
2016-09-12 22:15:55 -04:00
..
Cake Allow datasource access in constructors of mocked models. 2016-09-12 22:15:55 -04:00