Skip to content

Commit

Permalink
Skipping failing test when run through web browser.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Nov 21, 2011
1 parent 340d112 commit 0e6697d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Cake/Test/Case/Core/AppTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0e6697d

Please sign in to comment.