From 9856cc590477ddeb20d0e870d1d2654a96e47c5d Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Tue, 14 Oct 2008 22:03:41 +0000 Subject: [PATCH] clean up tests some --- t/Asset/Wobject/Thingy.t | 4 ++++ t/Mail/Send.t | 2 ++ 2 files changed, 6 insertions(+) diff --git a/t/Asset/Wobject/Thingy.t b/t/Asset/Wobject/Thingy.t index 0b594d551..45c198f04 100644 --- a/t/Asset/Wobject/Thingy.t +++ b/t/Asset/Wobject/Thingy.t @@ -117,6 +117,8 @@ cmp_deeply( onDeleteWorkflowId=>undef, sortBy=>undef, field_loop=>[], + exportMetaData=>undef, + maxEntriesPerUser=>undef, }, 'Getting newly added thing as JSON: www_getThingViaAjax returns correct data as JSON.' ); @@ -158,6 +160,8 @@ cmp_deeply( canEdit=>1, canAdd=>1, canSearch=>1, + exportMetaData=>undef, + maxEntriesPerUser=>undef, }], 'Getting all things in Thingy as JSON: www_getThingsViaAjax returns correct data as JSON.' ); diff --git a/t/Mail/Send.t b/t/Mail/Send.t index 1abd1ed9b..badf328e5 100644 --- a/t/Mail/Send.t +++ b/t/Mail/Send.t @@ -44,6 +44,8 @@ if ($hasServer) { $oldSettings{ smtpServer } = $session->setting->get('smtpServer'); $session->setting->set( 'smtpServer', $SMTP_HOST . ':' . $SMTP_PORT ); } +$oldSettings{ emailToLog } = $session->setting->get('emailToLog'); +$session->setting->set('emailToLog', 0); #---------------------------------------------------------------------------- # Tests