mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
the category will say app
because it's under app
This commit is contained in:
parent
1dae2735af
commit
cccb6e9867
1 changed files with 2 additions and 2 deletions
|
@ -269,13 +269,13 @@ class TestShellTest extends CakeTestCase {
|
||||||
$this->Shell->startup();
|
$this->Shell->startup();
|
||||||
|
|
||||||
$return = $this->Shell->mapFileToCategory(APP . 'Test/Case/NotATestFile.php');
|
$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);
|
$return = $this->Shell->mapFileToCase(APP . 'Test/Case/NotATestFile.php', false, false);
|
||||||
$this->assertFalse($return);
|
$this->assertFalse($return);
|
||||||
|
|
||||||
$return = $this->Shell->mapFileToCategory(APP . 'Test/Fixture/SomeTest.php');
|
$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);
|
$return = $this->Shell->mapFileToCase(APP . 'Test/Fixture/SomeTest.php', false, false);
|
||||||
$this->assertFalse($return);
|
$this->assertFalse($return);
|
||||||
|
|
Loading…
Add table
Reference in a new issue