mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Merge pull request #88 from burzum/585160300a174ab4d91a1fff01f586ff80306093
2.0 Fixing loading of plugin tests by adding Inflector::camelize()
This commit is contained in:
commit
0cb0b0636d
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class CakeFixtureManager {
|
||||||
$pluginName = $parts[1];
|
$pluginName = $parts[1];
|
||||||
$fixture = $parts[2];
|
$fixture = $parts[2];
|
||||||
$fixturePaths = array(
|
$fixturePaths = array(
|
||||||
CakePlugin::path($pluginName) . 'Test' . DS . 'Fixture',
|
CakePlugin::path(Inflector::camelize($pluginName)) . 'Test' . DS . 'Fixture',
|
||||||
TESTS . 'Fixture'
|
TESTS . 'Fixture'
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue