[Rt-commit] rt branch, 4.6-theme/admin-queues-pages, updated. rt-4.4.4-207-g15a696e13

Blaine Motsinger blaine at bestpractical.com
Wed May 1 20:01:24 EDT 2019


The branch, 4.6-theme/admin-queues-pages has been updated
       via  15a696e1360c9012f0224d6e3365384b2609b634 (commit)
      from  641ab8dbe6d98f0d99a39aafadd7c43661af6ca2 (commit)

Summary of changes:
 t/mail/gnupg-bad.t      | 2 +-
 t/mail/gnupg-incoming.t | 2 +-
 t/mail/gnupg-realmail.t | 2 +-
 t/mail/gnupg-special.t  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit 15a696e1360c9012f0224d6e3365384b2609b634
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Wed May 1 19:01:03 2019 -0500

    Fix tests for whitespace differences

diff --git a/t/mail/gnupg-bad.t b/t/mail/gnupg-bad.t
index a9fd45a49..12f3c9fd5 100644
--- a/t/mail/gnupg-bad.t
+++ b/t/mail/gnupg-bad.t
@@ -17,7 +17,7 @@ $m->get( $baseurl.'/Admin/Queues/');
 $m->follow_link_ok( {text => 'General'} );
 $m->submit_form( form_number => 3,
          fields      => { CorrespondAddress => 'rt at example.com' } );
-$m->content_like(qr/rt\@example.com.* - never/, 'has key info.');
+$m->content_like(qr/rt\@example.com.* -\s*never/, 'has key info.');
 
 ok(my $user = RT::User->new(RT->SystemUser));
 ok($user->Load('root'), "Loaded user 'root'");
diff --git a/t/mail/gnupg-incoming.t b/t/mail/gnupg-incoming.t
index 54b30d2a3..3dc5bec37 100644
--- a/t/mail/gnupg-incoming.t
+++ b/t/mail/gnupg-incoming.t
@@ -29,7 +29,7 @@ $m->get( $baseurl.'/Admin/Queues/');
 $m->follow_link_ok( {text => 'General'} );
 $m->submit_form( form_number => 3,
                  fields      => { CorrespondAddress => 'general at example.com' } );
-$m->content_like(qr/general\@example.com.* - never/, 'has key info.');
+$m->content_like(qr/general\@example.com.* -\s*never/, 'has key info.');
 
 ok(my $user = RT::User->new(RT->SystemUser));
 ok($user->Load('root'), "Loaded user 'root'");
diff --git a/t/mail/gnupg-realmail.t b/t/mail/gnupg-realmail.t
index 1609cffbb..c4439dcd8 100644
--- a/t/mail/gnupg-realmail.t
+++ b/t/mail/gnupg-realmail.t
@@ -15,7 +15,7 @@ $m->get_ok( '/Admin/Queues/');
 $m->follow_link_ok( {text => 'General'} );
 $m->submit_form( form_number => 3,
          fields      => { CorrespondAddress => 'rt-recipient at example.com' } );
-$m->content_like(qr/rt-recipient\@example.com.* - never/, 'has key info.');
+$m->content_like(qr/rt-recipient\@example.com.* -\s*never/, 'has key info.');
 
 my $eid = 0;
 for my $usage (qw/signed encrypted signed&encrypted/) {
diff --git a/t/mail/gnupg-special.t b/t/mail/gnupg-special.t
index 15aad3489..7c67afb12 100644
--- a/t/mail/gnupg-special.t
+++ b/t/mail/gnupg-special.t
@@ -20,7 +20,7 @@ ok( $m->login, 'we did log in' );
         form_number => 3,
         fields      => { CorrespondAddress => 'rt-recipient at example.com' },
     );
-    $m->content_like(qr/rt-recipient\@example.com.* - never/, 'has key info.');
+    $m->content_like(qr/rt-recipient\@example.com.* -\s*never/, 'has key info.');
 }
 
 ok(my $user = RT::User->new(RT->SystemUser));

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


More information about the rt-commit mailing list