Skip to content

Commit

Permalink
more not a a test tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AD7six committed Oct 18, 2011
1 parent 230d679 commit 1dae273
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/Cake/Test/Case/Console/Command/TestShellTest.php
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 1dae273

Please sign in to comment.