diff --git a/lib/Cake/Test/Case/Console/Command/TestShellTest.php b/lib/Cake/Test/Case/Console/Command/TestShellTest.php index 839992f08fb..aae225a4c05 100644 --- a/lib/Cake/Test/Case/Console/Command/TestShellTest.php +++ b/lib/Cake/Test/Case/Console/Command/TestShellTest.php @@ -268,11 +268,17 @@ public function testMapPluginTestToCase() { public function testMapNotTestToNothing() { $this->Shell->startup(); - $return = $this->Shell->mapFileToCategory(APP . 'Test/Case/NotATestFile.php', false); + $return = $this->Shell->mapFileToCategory(APP . 'Test/Case/NotATestFile.php'); $this->assertFalse($return); $return = $this->Shell->mapFileToCase(APP . 'Test/Case/NotATestFile.php', false, false); $this->assertFalse($return); + + $return = $this->Shell->mapFileToCategory(APP . 'Test/Fixture/SomeTest.php'); + $this->assertFalse($return); + + $return = $this->Shell->mapFileToCase(APP . 'Test/Fixture/SomeTest.php', false, false); + $this->assertFalse($return); } /**