From 1dae2735af475f00a3511dd099608b6a3873ed39 Mon Sep 17 00:00:00 2001 From: AD7six Date: Tue, 18 Oct 2011 11:58:34 +0200 Subject: [PATCH] more not a a test tests --- lib/Cake/Test/Case/Console/Command/TestShellTest.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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); } /**