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

@ -419,6 +419,7 @@ my $expected = {
'startDate' => '1',
'description' => '1',
'submissionStatus' => '0',
sendEmailOnChange => 1,
'_fieldList' => [
'title',
'description',
@ -437,7 +438,7 @@ my $expected = {
'assetId' => 'new',
'url' => undef,
'daysBeforeCleanup' => '7',
'title' => 'Untitled'
'title' => 'Untitled',
} ;
my $htmlText = $ems->www_addSubmissionForm;
@ -464,6 +465,7 @@ $expected = {
'formDescription' => {
'_fieldList' => [],
'submissionStatus' => 0,
sendEmailOnChange => 1,
},
'description' => undef,
'_isValid' => 0,

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.