Fixing loading of plugin tests by adding Inflector::camelize()

This commit is contained in:
Florian Krmer 2011-05-19 22:12:15 +02:00
parent 6f2e8092f1
commit 585160300a

View file

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