]> granicus.if.org Git - php/commitdiff
fix test, thanks Indrek
authorRemi Collet <remi@php.net>
Fri, 20 Mar 2020 11:09:15 +0000 (12:09 +0100)
committerRemi Collet <remi@php.net>
Fri, 20 Mar 2020 11:13:25 +0000 (12:13 +0100)
ext/zip/tests/oo_addglob2.phpt

index 35fe7f26bfa6e9b9aaeeafc97a79f0494db36285..18b74758c52e0766bc3adda816267302876e0822 100644 (file)
@@ -32,7 +32,7 @@ if (!$zip->addGlob($dirname . 'foo.*', GLOB_BRACE, $options)) {
 $options = [
        'remove_all_path' => true,
        'comp_method' => ZipArchive::CM_STORE,
-       'comp_password' => 5,
+       'comp_flags' => 5,
        'enc_method' => ZipArchive::EM_AES_256,
        'enc_password' => 'secret',
 ];