]> git.donarmstrong.com Git - debbugs.git/commitdiff
test block in 06_mail_handling.t
authorDon Armstrong <don@donarmstrong.com>
Fri, 29 May 2009 23:50:47 +0000 (16:50 -0700)
committerDon Armstrong <don@donarmstrong.com>
Fri, 29 May 2009 23:50:47 +0000 (16:50 -0700)
t/06_mail_handling.t

index 0c43aaa2f839cda4c6bbedad000735c040cc21be..dc863bc4ccc1273c019a3e7186b8b07e2809f0e2 100644 (file)
@@ -1,7 +1,7 @@
 # -*- mode: cperl;-*-
 # $Id: 05_mail.t,v 1.1 2005/08/17 21:46:17 don Exp $
 
-use Test::More tests => 96;
+use Test::More tests => 102;
 
 use warnings;
 use strict;
@@ -120,7 +120,8 @@ ok($status->{severity} eq 'wishlist','bug 1 wishlisted');
 
 # now we're going to go through and methododically test all of the control commands.
 my @control_commands =
-     (severity_wishlist => {command => 'severity',
+     (
+      severity_wishlist => {command => 'severity',
                            value   => 'wishlist',
                            status_key => 'severity',
                            status_value => 'wishlist',
@@ -227,6 +228,16 @@ my @control_commands =
                       status_key => 'mergedwith',
                       status_value => '2',
                      },
+      unmerge      => {command => 'unmerge',
+                      value   => '',
+                      status_key => 'mergedwith',
+                      status_value => '',
+                     },
+      block        => {command => 'block',
+                      value   => ' with 2',
+                      status_key => 'blockedby',
+                      status_value => '2',
+                     },
       summary      => {command => 'summary',
                       value   => '5',
                       status_key => 'summary',