[Rt-commit] rt branch, 4.0/user-group-creation-errors, updated. rt-4.0.1rc1-137-g6242ba9

Alex Vandiver alexmv at bestpractical.com
Tue Jun 21 16:33:38 EDT 2011


The branch, 4.0/user-group-creation-errors has been updated
       via  6242ba95572bc860e734e478a0b6cbcfd9a3983b (commit)
      from  6fd2cb6c9d25fb4e761b439065837b23c7d1f5a9 (commit)

Summary of changes:
 t/web/admin_groups.t |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 6242ba95572bc860e734e478a0b6cbcfd9a3983b
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Tue Jun 21 16:33:23 2011 -0400

    Update tests for duplicate group name not Abort()'ing anymore

diff --git a/t/web/admin_groups.t b/t/web/admin_groups.t
index e41c8d8..783b5ad 100644
--- a/t/web/admin_groups.t
+++ b/t/web/admin_groups.t
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 
-use RT::Test tests => 29;
+use RT::Test tests => 26;
 
 my ( $url, $m ) = RT::Test->started_ok;
 ok( $m->login(), 'logged in' );
@@ -39,10 +39,8 @@ ok( $m->login(), 'logged in' );
         form_number => 3,
         fields => { Name => 'test group' },
     });
-    $m->content_contains('RT Error', 'found error title');
     $m->content_contains('Group could not be created', 'found results');
     $m->content_like(qr/Group name .+? is already in use/, 'found message');
-    $m->warning_like(qr/Group name .+? is already in use/, 'found warning');
 }
 
 {

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


More information about the Rt-commit mailing list