Fix tests to work correctly with gpg1 and older gpgme versions

This commit is contained in:
Jakub Zelenka 2021-02-14 18:49:40 +00:00
parent 75a9b387ea
commit 542d121eca
4 changed files with 51 additions and 43 deletions

View file

@ -26,9 +26,6 @@ bool(true)
bool(true)
--CLEAN--
<?php
$homedir = __DIR__ . '/init_oo_home';
foreach (glob($homedir . '/*') as $filename) {
unlink($filename);
}
rmdir($homedir);
require_once "gnupgt.inc";
gnupgt::delete_key(__DIR__ . '/init_oo_home');
?>