diff --git a/tests/gnupg_oo_init_home_dir.phpt b/tests/gnupg_oo_init_home_dir.phpt new file mode 100644 index 0000000..3aceb23 --- /dev/null +++ b/tests/gnupg_oo_init_home_dir.phpt @@ -0,0 +1,31 @@ +--TEST-- +init object with custom home_dir +--SKIPIF-- + +--FILE-- + $homedir)); +$gpg->seterrormode(gnupg::ERROR_WARNING); +$gpg->import($testkey); +$imported = false; +foreach (glob("$homedir/*") as $filename) { + //var_dump($filename); + $imported = true; +} +var_dump($imported); +?> +--EXPECT-- +bool(true) +--CLEAN-- + \ No newline at end of file