Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more not a a test tests

  • Loading branch information...
commit 1dae2735af475f00a3511dd099608b6a3873ed39 1 parent 230d679
@AD7six AD7six authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 lib/Cake/Test/Case/Console/Command/TestShellTest.php
View
8 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);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.