Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.0.4, 3.1, 3.2
-
Component/s: Unit tests
-
Testing Instructions:
-
Affected Branches:MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
-
Fixed Branches:MOODLE_30_STABLE, MOODLE_31_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
If user doesn't belong to same group who created moodle branch, /lib/filestorage/tests/fixtures/empty.zip then core_files_zip_packer_testcase::test_list_files fails because of permission problem.
1) core_files_zip_packer_testcase::test_list_files
|
file_put_contents(/var/www/html/moodle/lib/filestorage/tests/fixtures/empty.zip): failed to open stream: Permission denied
|
|
/var/www/html/moodle/lib/filestorage/zip_archive.php:212
|
/var/www/html/moodle/lib/filestorage/zip_packer.php:548
|
/var/www/html/moodle/lib/filestorage/tests/zip_packer_test.php:131
|
/var/www/html/moodle/lib/phpunit/classes/advanced_testcase.php:80
|