mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fix failing test on windows
File permissions do not work the same on windows, skip the test.
This commit is contained in:
parent
d69c3f3db6
commit
f23226b937
1 changed files with 3 additions and 0 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Reference in a new issue