php-gnupg/tests/gnupg_oo_zzz_deletekey.phpt

17 lines
329 B
Text
Raw Normal View History

2006-11-03 12:39:53 +00:00
--TEST--n
delete a key from the keyring
--SKIPIF--
<?php if(!class_exists("gnupg")) die("skip"); ?>
--FILE--
<?php
require_once dirname(__FILE__) . "/vars.inc";
gnupg_test_import();
2006-11-03 12:39:53 +00:00
$gpg = new gnupg();
$gpg->seterrormode(gnupg::ERROR_WARNING);
$ret = $gpg->deletekey($fingerprint,true);
2006-11-03 12:39:53 +00:00
var_dump($ret);
?>
--EXPECT--
bool(true)