Fix tests with gpg2

This commit is contained in:
Jakub Zelenka 2021-02-14 18:29:37 +00:00
parent a32dc2f988
commit 75a9b387ea
4 changed files with 45 additions and 11 deletions

View file

@ -5,7 +5,7 @@ import a new key into the keyring
--FILE--
<?php
require_once "gnupgt.inc";
gnupgt::delete_key();
gnupgt::reset_key();
$gpg = new gnupg();
$gpg->seterrormode(gnupg::ERROR_WARNING);