mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2026-02-06 22:31:35 +00:00
Add helpers for checking arrays in tests
This commit is contained in:
parent
aa6fdf830b
commit
7d979e4e60
2 changed files with 75 additions and 3 deletions
|
|
@ -10,7 +10,9 @@ gnupgt::import_key();
|
|||
$gpg = new gnupg();
|
||||
$gpg->seterrormode(gnupg::ERROR_WARNING);
|
||||
$ret = $gpg->keyinfo($fingerprint);
|
||||
var_dump($ret);
|
||||
gnupgt::check_array(false, $ret, 0, 'disabled');
|
||||
|
||||
//var_dump($ret);
|
||||
?>
|
||||
--EXPECT--
|
||||
array(1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue