Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

a random test

  • Loading branch information...
commit 4addd9faaebc15276535673de2660476ad303e2a 1 parent f82ae66
@AD7six AD7six authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/Cake/Test/Case/Console/Command/TestShellTest.php
View
7 lib/Cake/Test/Case/Console/Command/TestShellTest.php
@@ -108,6 +108,10 @@ public function testMapAppFileToCategory() {
$return = $this->Shell->mapFileToCategory('Controller/ExampleController.php');
$this->assertSame('app', $return);
+
+ $return = $this->Shell->mapFileToCategory('My/File/Is/Here.php');
+ $this->assertSame('app', $return);
+
}
/**
@@ -120,6 +124,9 @@ public function testMapAppFileToCase() {
$return = $this->Shell->mapFileToCase('Controller/ExampleController.php', 'app', false);
$this->assertSame('Controller/ExampleController', $return);
+
+ $return = $this->Shell->mapFileToCase('My/File/Is/Here.php', 'app', false);
+ $this->assertSame('My/File/Is/Here', $return);
}
/**

0 comments on commit 4addd9f

Please sign in to comment.
Something went wrong with that request. Please try again.