From cccb6e986780287064e9a456249dbfa613d56072 Mon Sep 17 00:00:00 2001 From: AD7six Date: Tue, 18 Oct 2011 12:00:46 +0200 Subject: [PATCH] the category will say app because it's under app --- lib/Cake/Test/Case/Console/Command/TestShellTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Test/Case/Console/Command/TestShellTest.php b/lib/Cake/Test/Case/Console/Command/TestShellTest.php index aae225a4c..b99c2c798 100644 --- a/lib/Cake/Test/Case/Console/Command/TestShellTest.php +++ b/lib/Cake/Test/Case/Console/Command/TestShellTest.php @@ -269,13 +269,13 @@ class TestShellTest extends CakeTestCase { $this->Shell->startup(); $return = $this->Shell->mapFileToCategory(APP . 'Test/Case/NotATestFile.php'); - $this->assertFalse($return); + $this->assertSame('app', $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); + $this->assertSame('app', $return); $return = $this->Shell->mapFileToCase(APP . 'Test/Fixture/SomeTest.php', false, false); $this->assertFalse($return);