mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2026-07-27 16:12:40 +00:00
more tests
removed examples
This commit is contained in:
parent
f98e3c57e4
commit
ba4ad8960b
33 changed files with 478 additions and 121 deletions
12
tests/gnupg_res_zzz_deletekey.phpt
Normal file
12
tests/gnupg_res_zzz_deletekey.phpt
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
--TEST--n
|
||||
delete a key from the keyring
|
||||
--FILE--
|
||||
<?php
|
||||
require_once(dirname(__FILE__)."/vars.inc");
|
||||
$gpg = gnupg_init();
|
||||
gnupg_seterrormode($gpg, GNUPG_ERROR_WARNING);
|
||||
$ret = gnupg_deletekey($gpg, $fingerprint,true);
|
||||
var_dump($ret);
|
||||
?>
|
||||
--EXPECT--
|
||||
bool(true)
|
||||
Loading…
Add table
Add a link
Reference in a new issue