[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.6-333-g7a7d3c0

? sunnavy sunnavy at bestpractical.com
Thu Dec 2 08:41:06 EST 2010


The branch, 3.9-trunk has been updated
       via  7a7d3c0f99198a56c38820814280a2444bfc00e1 (commit)
       via  27c93d7ab3d0a6e10fe5dbc4f90b5ee198ba471a (commit)
      from  3c31dd43f9d5175d2a629afe88b423e0729dfece (commit)

Summary of changes:
 t/mail/dashboards.t          |    5 ++++-
 t/web/redirect-after-login.t |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 27c93d7ab3d0a6e10fe5dbc4f90b5ee198ba471a
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Dec 2 21:34:16 2010 +0800

    warning fix

diff --git a/t/mail/dashboards.t b/t/mail/dashboards.t
index 1f31ac0..d64d140 100644
--- a/t/mail/dashboards.t
+++ b/t/mail/dashboards.t
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 
-use RT::Test tests => 47;
+use RT::Test tests => 50;
 use RT::Dashboard::Mailer;
 
 my ($baseurl, $m) = RT::Test->started_ok;
@@ -133,9 +133,12 @@ produces_no_dashboard_mail_ok(
 is(@mails, 0, "no mail leftover");
 
 
+$m->no_warnings_ok;
+RT::Test->stop_server;
 RT->Config->Set('DashboardSubject' => 'a %s b %s c');
 RT->Config->Set('DashboardAddress' => 'dashboard at example.com');
 RT->Config->Set('EmailDashboardRemove' => (qr/My dashboards/, "Testing!"));
+($baseurl, $m) = RT::Test->started_ok;
 
 RT::Dashboard::Mailer->MailDashboards(All => 1);
 @mails = RT::Test->fetch_caught_mails;

commit 7a7d3c0f99198a56c38820814280a2444bfc00e1
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Dec 2 21:39:48 2010 +0800

    Config->Set prefers flat list

diff --git a/t/web/redirect-after-login.t b/t/web/redirect-after-login.t
index 669b01e..0be6f48 100644
--- a/t/web/redirect-after-login.t
+++ b/t/web/redirect-after-login.t
@@ -5,7 +5,7 @@ use warnings;
 
 use RT::Test tests => 122;
 
-RT->Config->Set( GnuPG => { Enable => 0 } );
+RT->Config->Set( GnuPG => Enable => 0 );
 
 my ($baseurl, $agent) = RT::Test->started_ok;
 

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


More information about the Rt-commit mailing list