From 4899b5b91b76b8b9b524e098d1fde14437c6b543 Mon Sep 17 00:00:00 2001 From: dogmatic69 Date: Sat, 15 Sep 2012 11:17:35 +0100 Subject: [PATCH] changing is_writeable() to is_writable() --- lib/Cake/Test/Case/TestSuite/CakeTestSuiteTest.php | 4 ++-- lib/Cake/Test/Case/Utility/FolderTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Cake/Test/Case/TestSuite/CakeTestSuiteTest.php b/lib/Cake/Test/Case/TestSuite/CakeTestSuiteTest.php index 9a25b4939..78617881e 100644 --- a/lib/Cake/Test/Case/TestSuite/CakeTestSuiteTest.php +++ b/lib/Cake/Test/Case/TestSuite/CakeTestSuiteTest.php @@ -61,7 +61,7 @@ class CakeTestSuiteTest extends CakeTestCase { * @return void */ public function testAddTestDirectoryRecursiveWithHidden() { - $this->skipIf(!is_writeable(TMP), 'Cant addTestDirectoryRecursiveWithHidden unless the tmp folder is writable.'); + $this->skipIf(!is_writable(TMP), 'Cant addTestDirectoryRecursiveWithHidden unless the tmp folder is writable.'); $Folder = new Folder(TMP . 'MyTestFolder', true, 0777); mkdir($Folder->path . DS . '.svn', 0777, true); @@ -85,7 +85,7 @@ class CakeTestSuiteTest extends CakeTestCase { * @return void */ public function testAddTestDirectoryRecursiveWithNonPhp() { - $this->skipIf(!is_writeable(TMP), 'Cant addTestDirectoryRecursiveWithNonPhp unless the tmp folder is writable.'); + $this->skipIf(!is_writable(TMP), 'Cant addTestDirectoryRecursiveWithNonPhp unless the tmp folder is writable.'); $Folder = new Folder(TMP . 'MyTestFolder', true, 0777); touch($Folder->path . DS . 'BackupTest.php~'); diff --git a/lib/Cake/Test/Case/Utility/FolderTest.php b/lib/Cake/Test/Case/Utility/FolderTest.php index a6801db4c..65739bf84 100644 --- a/lib/Cake/Test/Case/Utility/FolderTest.php +++ b/lib/Cake/Test/Case/Utility/FolderTest.php @@ -374,7 +374,7 @@ class FolderTest extends CakeTestCase { * @return void */ public function testFolderReadWithHiddenFiles() { - $this->skipIf(!is_writeable(TMP), 'Cant test Folder::read with hidden files unless the tmp folder is writable.'); + $this->skipIf(!is_writable(TMP), 'Cant test Folder::read with hidden files unless the tmp folder is writable.'); $Folder = new Folder(TMP . 'folder_tree_hidden', true, 0777); mkdir($Folder->path . DS . '.svn'); @@ -457,7 +457,7 @@ class FolderTest extends CakeTestCase { * @return void */ public function testFolderTreeWithHiddenFiles() { - $this->skipIf(!is_writeable(TMP), 'Can\'t test Folder::tree with hidden files unless the tmp folder is writable.'); + $this->skipIf(!is_writable(TMP), 'Can\'t test Folder::tree with hidden files unless the tmp folder is writable.'); $Folder = new Folder(TMP . 'folder_tree_hidden', true, 0777); mkdir($Folder->path . DS . '.svn', 0777, true);