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:
Daniel Ziegenberg
2025-01-28 18:57:58 +01:00
parent 39fda04cdc
commit 5d99a0cbef
+1 -2
View File
@@ -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);