clean up tests some

This commit is contained in:
Graham Knop 2008-10-14 22:03:41 +00:00
parent 6af9adbf41
commit 9856cc5904
2 changed files with 6 additions and 0 deletions

View file

@ -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.'
);

View file

@ -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