Skip to content
This repository
Browse code

Skipping failing test when run through web browser.

  • Loading branch information...
commit 0e6697dbc6ba4d92c215fc0e8eab367db58ef8f3 1 parent 340d112
ADmad authored November 22, 2011

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  lib/Cake/Test/Case/Core/AppTest.php
3  lib/Cake/Test/Case/Core/AppTest.php
@@ -343,6 +343,9 @@ public function testListObjects() {
343 343
  */
344 344
 	public function testListObjectsIgnoreDotDirectories() {
345 345
 		$path = CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS;
  346
+
  347
+		$this->skipIf(!is_writable($path), $path . ' is not writable.');
  348
+
346 349
 		App::build(array(
347 350
 			'plugins' => array($path)
348 351
 		), App::RESET);

0 notes on commit 0e6697d

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