MDL-73700 core: remove testing code for old PHP version
Because of PHP bug #70322 two different behaviours were tested (see MDL-51863). Since those 10 year old PHP versions are way outdated there is no reason to test for them any longer. Signed-off-by: Daniel Ziegenberg <[email protected]>
This commit is contained in:
@@ -523,8 +523,7 @@ final class zip_packer_test extends \advanced_testcase implements file_progress
|
||||
unlink($archive);
|
||||
|
||||
// Create archive and close if forcing error.
|
||||
// (returns true for old PHP versions and
|
||||
// false with warnings for new PHP versions). MDL-51863.
|
||||
// (returns false with warnings).
|
||||
$zip_archive = new zip_archive();
|
||||
$result = $zip_archive->open($archive, file_archive::CREATE);
|
||||
$this->assertTrue($result);
|
||||
|
||||
Reference in New Issue
Block a user