Fix failing test on windows

File permissions do not work the same on windows, skip the test.
This commit is contained in:
mark_story 2012-01-06 23:01:59 -05:00
parent d69c3f3db6
commit f23226b937

View file

@ -356,6 +356,9 @@ class FileEngineTest extends CakeTestCase {
* @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');