clean up tests some
This commit is contained in:
parent
6af9adbf41
commit
9856cc5904
2 changed files with 6 additions and 0 deletions
|
|
@ -117,6 +117,8 @@ cmp_deeply(
|
||||||
onDeleteWorkflowId=>undef,
|
onDeleteWorkflowId=>undef,
|
||||||
sortBy=>undef,
|
sortBy=>undef,
|
||||||
field_loop=>[],
|
field_loop=>[],
|
||||||
|
exportMetaData=>undef,
|
||||||
|
maxEntriesPerUser=>undef,
|
||||||
},
|
},
|
||||||
'Getting newly added thing as JSON: www_getThingViaAjax returns correct data as JSON.'
|
'Getting newly added thing as JSON: www_getThingViaAjax returns correct data as JSON.'
|
||||||
);
|
);
|
||||||
|
|
@ -158,6 +160,8 @@ cmp_deeply(
|
||||||
canEdit=>1,
|
canEdit=>1,
|
||||||
canAdd=>1,
|
canAdd=>1,
|
||||||
canSearch=>1,
|
canSearch=>1,
|
||||||
|
exportMetaData=>undef,
|
||||||
|
maxEntriesPerUser=>undef,
|
||||||
}],
|
}],
|
||||||
'Getting all things in Thingy as JSON: www_getThingsViaAjax returns correct data as JSON.'
|
'Getting all things in Thingy as JSON: www_getThingsViaAjax returns correct data as JSON.'
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,8 @@ if ($hasServer) {
|
||||||
$oldSettings{ smtpServer } = $session->setting->get('smtpServer');
|
$oldSettings{ smtpServer } = $session->setting->get('smtpServer');
|
||||||
$session->setting->set( 'smtpServer', $SMTP_HOST . ':' . $SMTP_PORT );
|
$session->setting->set( 'smtpServer', $SMTP_HOST . ':' . $SMTP_PORT );
|
||||||
}
|
}
|
||||||
|
$oldSettings{ emailToLog } = $session->setting->get('emailToLog');
|
||||||
|
$session->setting->set('emailToLog', 0);
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
# Tests
|
# Tests
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue