Skip to content

Commit

Permalink
Fixing fixtures path when using a fixture inside a plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
renan committed Nov 11, 2009
1 parent c5a4191 commit 8cab87f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cake/tests/lib/cake_test_case.php
Expand Up @@ -765,11 +765,10 @@ function _loadFixtures() {
$pluginName = $parts[1];
$fixture = $parts[2];
$fixturePaths = array(
APP . 'plugins' . DS . $pluginName . DS . 'tests' . DS . 'fixtures',
App::pluginPath($pluginName) . 'tests' . DS . 'fixtures',
TESTS . 'fixtures',
VENDORS . 'tests' . DS . 'fixtures'
);
$fixturesPaths[0] = App::pluginPath($pluginName) . DS . 'tests' . DS . 'fixtures';
} else {
$fixturePaths = array(
TESTS . 'fixtures',
Expand Down

0 comments on commit 8cab87f

Please sign in to comment.