$m->submit_form(with_fields => {
DatabaseAdmin => $ENV{RT_DBA_USER},
DatabaseAdminPassword => $ENV{RT_DBA_PASSWORD},
+ DatabasePassword => "rt_pass",
});
}
$m->content_contains('Connection succeeded');
}, 'set root password');
# Mail options
+ my $sendmail = File::Spec->rel2abs( File::Spec->catfile(
+ 't', 'security', 'fake-sendmail' ) );
$m->submit_form_ok({
with_fields => {
- OwnerEmail => 'admin@example.com',
+ OwnerEmail => 'admin@example.com',
+ SendmailPath => $sendmail,
},
}, 'set admin email');