From 1930452da01702bf28c5ff63f3355ff5be9c9eb0 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Sat, 14 May 2011 23:42:55 -0430 Subject: [PATCH] Fixing Folder test case after recent updates in folder casing --- lib/Cake/Test/Case/Utility/FolderTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Cake/Test/Case/Utility/FolderTest.php b/lib/Cake/Test/Case/Utility/FolderTest.php index ccedc82eb..f30c59e43 100644 --- a/lib/Cake/Test/Case/Utility/FolderTest.php +++ b/lib/Cake/Test/Case/Utility/FolderTest.php @@ -69,10 +69,10 @@ class FolderTest extends CakeTestCase { $result = Folder::isSlashTerm($inside); $this->assertTrue($result); - $result = $Folder->realpath('tests/'); - $this->assertEqual($result, $path . DS .'tests' . DS); + $result = $Folder->realpath('Test/'); + $this->assertEqual($result, $path . DS .'Test' . DS); - $result = $Folder->inPath('tests' . DS); + $result = $Folder->inPath('Test' . DS); $this->assertTrue($result); $result = $Folder->inPath(DS . 'non-existing' . $inside); @@ -147,7 +147,7 @@ class FolderTest extends CakeTestCase { * @return void */ function testOperations() { - $path = LIBS . 'console' . DS . 'templates' . DS . 'skel'; + $path = LIBS . 'Console' . DS . 'templates' . DS . 'skel'; $Folder = new Folder($path); $result = is_dir($Folder->pwd()); @@ -220,7 +220,7 @@ class FolderTest extends CakeTestCase { public function testChmod() { $this->skipIf(DIRECTORY_SEPARATOR === '\\', '%s Folder permissions tests not supported on Windows'); - $path = LIBS . 'console' . DS . 'templates' . DS . 'skel'; + $path = LIBS . 'Console' . DS . 'templates' . DS . 'skel'; $Folder = new Folder($path); $subdir = 'test_folder_new';