[Rt-commit] rt branch, 4.0/installer-with-dba-password, created. rt-4.0.8-265-gc84cb8e

Alex Vandiver alexmv at bestpractical.com
Tue Dec 18 15:21:11 EST 2012


The branch, 4.0/installer-with-dba-password has been created
        at  c84cb8e27a06dc9cd328f897edf7d67023011b09 (commit)

- Log -----------------------------------------------------------------
commit c84cb8e27a06dc9cd328f897edf7d67023011b09
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Tue Dec 18 15:19:41 2012 -0500

    Ensure that the installer tests pass with a non-empty DBA password
    
    The installer tests assume a default DBA username and blank password,
    which may not match the developer's configuration.  Fortunately, the DBA
    credentials are already stored in ENV for testing; respect them.

diff --git a/t/web/installer.t b/t/web/installer.t
index a0f9cee..0cae8a6 100644
--- a/t/web/installer.t
+++ b/t/web/installer.t
@@ -51,7 +51,10 @@ diag "Walking through install screens setting defaults";
 
     # Database details
     $m->content_contains('DatabaseName');
-    $m->submit();
+    $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' });
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list