Fixing fixture loading in plugins

This commit is contained in:
Jose Lorenzo Rodriguez 2011-05-17 17:11:34 -04:30
parent 6e29bb4d94
commit 27463da5ef

View file

@ -116,7 +116,7 @@ class CakeFixtureManager {
$pluginName = $parts[1];
$fixture = $parts[2];
$fixturePaths = array(
App::pluginPath($pluginName) . 'tests' . DS . 'Fixture',
CakePlugin::path($pluginName) . 'Test' . DS . 'Fixture',
TESTS . 'Fixture'
);
} else {