diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2013-06-04 00:16:28 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2013-06-04 00:16:28 -0700 |
| commit | 7588a4ac90a9b07c08a3107cd1107d773be1c991 (patch) | |
| tree | 55b8bedb5f899e705da0ba7f608267943bf89e94 /rt/t/web/installer.t | |
| parent | 98d2b25256055abb0dfcb9f586b434474fa97afd (diff) | |
RT 4.0.13
Diffstat (limited to 'rt/t/web/installer.t')
| -rw-r--r-- | rt/t/web/installer.t | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/rt/t/web/installer.t b/rt/t/web/installer.t index 4dc82df47..a34cdcb4b 100644 --- a/rt/t/web/installer.t +++ b/rt/t/web/installer.t @@ -1,4 +1,3 @@ -#!/usr/bin/perl use strict; use warnings; @@ -52,7 +51,14 @@ diag "Walking through install screens setting defaults"; # Database details $m->content_contains('DatabaseName'); - $m->submit(); + if (RT->Config->Get('DatabaseType') eq 'SQLite') { + $m->submit; + } else { + $m->submit_form(with_fields => { + DatabaseAdmin => $ENV{RT_DBA_USER}, + DatabaseAdminPassword => $ENV{RT_DBA_PASSWORD}, + }); + } $m->content_contains('Connection succeeded'); $m->submit_form_ok({ button => 'Next' }); @@ -91,5 +97,6 @@ diag "Walking through install screens setting defaults"; ok $m->login(), 'logged in'; } +RT::Test::__drop_database(); undef $m; done_testing; |
