Skipping failing test when run through web browser.

This commit is contained in:
ADmad 2011-11-22 02:00:58 +05:30
parent 340d112693
commit 0e6697dbc6

View file

@ -343,6 +343,9 @@ class AppTest extends CakeTestCase {
*/
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);