Permalink
Browse files

Skipping failing test when run through web browser.

  • Loading branch information...
1 parent 340d112 commit 0e6697dbc6ba4d92c215fc0e8eab367db58ef8f3 @ADmad ADmad committed Nov 21, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/Cake/Test/Case/Core/AppTest.php
View
3 lib/Cake/Test/Case/Core/AppTest.php
@@ -343,6 +343,9 @@ public function testListObjects() {
*/
public function testListObjectsIgnoreDotDirectories() {
$path = CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS;
+
+ $this->skipIf(!is_writable($path), $path . ' is not writable.');
+
App::build(array(
'plugins' => array($path)
), App::RESET);

0 comments on commit 0e6697d

Please sign in to comment.