[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-733-g9c64387
? sunnavy
sunnavy at bestpractical.com
Wed Sep 8 21:15:57 EDT 2010
The branch, 3.9-trunk has been updated
via 9c64387174fecdfc52c8398468d928323e54c1c4 (commit)
from 8de7a0b57ab1305214b71df02ede1ada71a18f40 (commit)
Summary of changes:
t/web/search_bulk_update_links.t | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 9c64387174fecdfc52c8398468d928323e54c1c4
Author: sunnavy <sunnavy at bestpractical.com>
Date: Thu Sep 9 09:17:37 2010 +0800
regression test for bulk update
diff --git a/t/web/search_bulk_update_links.t b/t/web/search_bulk_update_links.t
index d6bfdfd..7e4be45 100644
--- a/t/web/search_bulk_update_links.t
+++ b/t/web/search_bulk_update_links.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use RT::Test tests => 28;
+use RT::Test tests => 45;
my ( $url, $m ) = RT::Test->started_ok;
ok( $m->login, 'logged in' );
@@ -77,6 +77,14 @@ $m->get_ok( $url . "/Search/Bulk.html?Query=$query&Rows=10" );
$m->content_contains( 'Current Links', 'has current links part' );
$m->content_lacks( 'DeleteLink--', 'no delete link stuff' );
+$m->form_number(3);
+my @fields = qw/Owner AddRequestor DeleteRequestor AddCc DeleteCc AddAdminCc
+DeleteAdminCc Subject Priority Queue Status Starts_Date Told_Date Due_Date
+Resolved_Date UpdateSubject UpdateContent/;
+for my $field ( @fields ) {
+ is( $m->value($field), '', "default $field is empty" );
+}
+
# test DependsOn, MemberOf and RefersTo
$m->submit_form(
form_number => 3,
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list