mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
updating folder test for inPath, fixes #3922
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6487 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
815983cd74
commit
03a7ca842f
1 changed files with 2 additions and 2 deletions
|
@ -66,9 +66,9 @@ class FolderTest extends UnitTestCase {
|
|||
$this->assertTrue($result);
|
||||
|
||||
$result = $Folder->realpath('tests/');
|
||||
$this->assertEqual($result, $path . DS .'tests/');
|
||||
$this->assertEqual($result, $path . DS .'tests' . DS);
|
||||
|
||||
$result = $Folder->inPath('tests/');
|
||||
$result = $Folder->inPath('tests' . DS);
|
||||
$this->assertTrue($result);
|
||||
|
||||
$result = $Folder->inPath(DS . 'non-existing' . $inside);
|
||||
|
|
Loading…
Add table
Reference in a new issue