Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jun 11, 2014
1 parent 4eae13f commit 1344176
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Core/AppTest.php
Expand Up @@ -130,11 +130,11 @@ public function testPathWithPlugins() {
Plugin::load('TestPlugin');

$result = App::path('Controller', 'TestPlugin');
$this->assertPathEquals($basepath . 'TestPlugin' . DS . 'Controller' . DS, $result[0]);
$this->assertPathEquals($basepath . 'TestPlugin' . DS . 'src' . DS . 'Controller' . DS, $result[0]);

Plugin::load('Company/TestPluginThree');
$result = App::path('Controller', 'Company/TestPluginThree');
$expected = $basepath . 'Company' . DS . 'TestPluginThree' . DS . 'Controller' . DS;
$expected = $basepath . 'Company' . DS . 'TestPluginThree' . DS . 'src' . DS . 'Controller' . DS;
$this->assertPathEquals($expected, $result[0]);
}

Expand Down

0 comments on commit 1344176

Please sign in to comment.