Skip to content

Commit

Permalink
Fix failing test on windows
Browse files Browse the repository at this point in the history
File permissions do not work the same on windows, skip the test.
  • Loading branch information
markstory committed Jan 7, 2012
1 parent d69c3f3 commit f23226b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Cake/Test/Case/Cache/Engine/FileEngineTest.php
Expand Up @@ -356,6 +356,9 @@ public function testErrorWhenPathDoesNotExist() {
* @return void
*/
public function testMaskSetting() {
if (DS === '\\') {
$this->markTestSkipped('File permission testing does not work on Windows.');
}
Cache::config('mask_test', array('engine' => 'File', 'path' => TMP . 'tests'));
$data = 'This is some test content';
$write = Cache::write('masking_test', $data, 'mask_test');
Expand Down

0 comments on commit f23226b

Please sign in to comment.