Skip to content

Commit

Permalink
the category will say app
Browse files Browse the repository at this point in the history
because it's under app
  • Loading branch information
AD7six committed Oct 18, 2011
1 parent 1dae273 commit cccb6e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Test/Case/Console/Command/TestShellTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,13 +269,13 @@ public function testMapNotTestToNothing() {
$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);
Expand Down

0 comments on commit cccb6e9

Please sign in to comment.