Skip to content

Commit

Permalink
correct reference to tests directory
Browse files Browse the repository at this point in the history
  • Loading branch information
antograssiot committed Jul 10, 2014
1 parent 49da430 commit bd6a5ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/Command/Task/FixtureTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ class FixtureTask extends BakeTask {
* @return string
*/
public function getPath() {
$dir = 'Test/Fixture/';
$dir = 'tests/Fixture/';
$path = ROOT . DS . $dir;
if (isset($this->plugin)) {
$path = $this->_pluginPath($this->plugin) . 'tests/Fixture/';
$path = $this->_pluginPath($this->plugin) . $dir;
}
return str_replace('/', DS, $path);
}
Expand Down

0 comments on commit bd6a5ee

Please sign in to comment.