mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-25 07:37:08 +00:00
19 lines
286 B
Text
19 lines
286 B
Text
|
--TEST--
|
||
|
get error
|
||
|
--SKIPIF--
|
||
|
<?php if(!class_exists("gnupg")) die("skip"); ?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
require_once "gnupgt.inc";
|
||
|
gnupgt::import_key();
|
||
|
|
||
|
$gpg = new gnupg();
|
||
|
var_dump($gpg->geterror());
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
bool(false)
|
||
|
--CLEAN--
|
||
|
<?php
|
||
|
require_once "gnupgt.inc";
|
||
|
gnupgt::delete_key();
|
||
|
?>
|