diff --git a/t/Asset/EMSSubmissionForm.t b/t/Asset/EMSSubmissionForm.t index 1a9f3701e..f89706971 100644 --- a/t/Asset/EMSSubmissionForm.t +++ b/t/Asset/EMSSubmissionForm.t @@ -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, diff --git a/t/Spectre/Workflow.t b/t/Spectre/Workflow.t index d61c3929f..013aa2670 100644 --- a/t/Spectre/Workflow.t +++ b/t/Spectre/Workflow.t @@ -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.