Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing tests to reflect last changes made on TestTask.

  • Loading branch information...
commit 88db6f328b867732a420c6bed9dc9a712b62785e 1 parent 7f19843
Renan Gonçalves renan authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php
6 lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php
View
@@ -528,7 +528,7 @@ public function testBakeWithPlugin() {
//fake plugin path
CakePlugin::load('TestTest', array('path' => APP . 'Plugin' . DS . 'TestTest' . DS));
- $path = APP . 'Plugin' . DS . 'TestTest' . DS . 'tests' . DS . 'Case' . DS . 'View' . DS . 'Helper' . DS .'FormHelperTest.php';
+ $path = APP . 'Plugin' . DS . 'TestTest' . DS . 'Test' . DS . 'Case' . DS . 'View' . DS . 'Helper' . DS .'FormHelperTest.php';
$this->Task->expects($this->once())->method('createFile')
->with($path, new PHPUnit_Framework_Constraint_IsAnything());
@@ -549,7 +549,7 @@ function testInteractiveWithPlugin() {
CakePlugin::load('TestPlugin');
$this->Task->plugin = 'TestPlugin';
- $path = $testApp . 'TestPlugin' . DS . 'tests' . DS . 'Case' . DS . 'View' . DS . 'Helper' . DS . 'OtherHelperHelperTest.php';
+ $path = $testApp . 'TestPlugin' . DS . 'Test' . DS . 'Case' . DS . 'View' . DS . 'Helper' . DS . 'OtherHelperHelperTest.php';
$this->Task->expects($this->any())
->method('in')
->will($this->onConsecutiveCalls(
@@ -599,7 +599,7 @@ public function testTestCaseFileName() {
CakePlugin::load('TestTest', array('path' => APP . 'Plugin' . DS . 'TestTest' . DS ));
$this->Task->plugin = 'TestTest';
$result = $this->Task->testCaseFileName('Model', 'Post');
- $expected = APP . 'Plugin' . DS . 'TestTest' . DS . 'tests' . DS . 'Case' . DS . 'Model' . DS . 'PostTest.php';
+ $expected = APP . 'Plugin' . DS . 'TestTest' . DS . 'Test' . DS . 'Case' . DS . 'Model' . DS . 'PostTest.php';
$this->assertEqual($expected, $result);
}
Please sign in to comment.
Something went wrong with that request. Please try again.