fixed tests

This commit is contained in:
daviddelikat 2009-11-15 22:35:02 -06:00
parent 26ef90d629
commit 9dd7056ecf
2 changed files with 5 additions and 3 deletions

View file

@ -28,7 +28,7 @@ use POE::Component::IKC::ClientLite;
use JSON;
use Config::JSON;
use Carp qw(croak);
plan tests => 20;
plan tests => 19;
@ -47,7 +47,7 @@ $sitename = $session->config->get('sitename')->[0];
# tests for retrieving more than one site, the default
SKIP: {
if (! eval { spectre_ping($spectreConfig) } ) {
skip "Spectre doesn't seem to be running: $@", 8;
skip "Spectre doesn't seem to be running: $@", 7;
}
# XXX kinda evil kludge to put an activity in the scheduler so that the
# below calls return data; suggestions on a better way to do this welcomed.