projects
/
monkeysphere-validation-agent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30999dc
)
Check that some suitable keys are found. Make debugging output optional
author
David Bremner
<bremner@unb.ca>
Sat, 19 Mar 2011 13:11:08 +0000
(10:11 -0300)
committer
David Bremner
<bremner@unb.ca>
Thu, 24 Mar 2011 22:57:35 +0000
(19:57 -0300)
unit-tests/20.validator/20.remote.t
patch
|
blob
|
history
diff --git
a/unit-tests/20.validator/20.remote.t
b/unit-tests/20.validator/20.remote.t
index 21b55beea211e90c8a047931bdbe4a5ccdcd1d46..509399b76b8ea3128f7d7c2e8d69d71a9ea13437 100644
(file)
--- a/
unit-tests/20.validator/20.remote.t
+++ b/
unit-tests/20.validator/20.remote.t
@@
-26,9
+26,9
@@
isa_ok($validator,'Crypt::Monkeysphere::Validator');
my $return=$validator->query(uid=>$uid);
-print Dumper($return);
+print Dumper($return)
if ($ENV{MSTEST_DEBUG})
;
-
is(defined($return),1
);
+
ok(scalar @{$return->{valid_keys}} > 0
);