Skip to content
This repository
Browse code

changing is_writeable() to is_writable()

  • Loading branch information...
commit 4899b5b91b76b8b9b524e098d1fde14437c6b543 1 parent aa87791
Carl Sutton authored September 15, 2012
4  lib/Cake/Test/Case/TestSuite/CakeTestSuiteTest.php
@@ -61,7 +61,7 @@ public function testAddTestDirectoryRecursive() {
61 61
  * @return void
62 62
  */
63 63
 	public function testAddTestDirectoryRecursiveWithHidden() {
64  
-		$this->skipIf(!is_writeable(TMP), 'Cant addTestDirectoryRecursiveWithHidden unless the tmp folder is writable.');
  64
+		$this->skipIf(!is_writable(TMP), 'Cant addTestDirectoryRecursiveWithHidden unless the tmp folder is writable.');
65 65
 
66 66
 		$Folder = new Folder(TMP . 'MyTestFolder', true, 0777);
67 67
 		mkdir($Folder->path . DS . '.svn', 0777, true);
@@ -85,7 +85,7 @@ public function testAddTestDirectoryRecursiveWithHidden() {
85 85
  * @return void
86 86
  */
87 87
 	public function testAddTestDirectoryRecursiveWithNonPhp() {
88  
-		$this->skipIf(!is_writeable(TMP), 'Cant addTestDirectoryRecursiveWithNonPhp unless the tmp folder is writable.');
  88
+		$this->skipIf(!is_writable(TMP), 'Cant addTestDirectoryRecursiveWithNonPhp unless the tmp folder is writable.');
89 89
 
90 90
 		$Folder = new Folder(TMP . 'MyTestFolder', true, 0777);
91 91
 		touch($Folder->path . DS . 'BackupTest.php~');
4  lib/Cake/Test/Case/Utility/FolderTest.php
@@ -374,7 +374,7 @@ public function testFolderRead() {
374 374
  * @return void
375 375
  */
376 376
 	public function testFolderReadWithHiddenFiles() {
377  
-		$this->skipIf(!is_writeable(TMP), 'Cant test Folder::read with hidden files unless the tmp folder is writable.');
  377
+		$this->skipIf(!is_writable(TMP), 'Cant test Folder::read with hidden files unless the tmp folder is writable.');
378 378
 
379 379
 		$Folder = new Folder(TMP . 'folder_tree_hidden', true, 0777);
380 380
 		mkdir($Folder->path . DS . '.svn');
@@ -457,7 +457,7 @@ public function testFolderTree() {
457 457
  * @return void
458 458
  */
459 459
 	public function testFolderTreeWithHiddenFiles() {
460  
-		$this->skipIf(!is_writeable(TMP), 'Can\'t test Folder::tree with hidden files unless the tmp folder is writable.');
  460
+		$this->skipIf(!is_writable(TMP), 'Can\'t test Folder::tree with hidden files unless the tmp folder is writable.');
461 461
 
462 462
 		$Folder = new Folder(TMP . 'folder_tree_hidden', true, 0777);
463 463
 		mkdir($Folder->path . DS . '.svn', 0777, true);

0 notes on commit 4899b5b

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