[Rt-commit] r18147 - in rt/3.999/branches/merge_to_3.8.2: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Feb 3 07:43:11 EST 2009


Author: sunnavy
Date: Tue Feb  3 07:43:10 2009
New Revision: 18147

Modified:
   rt/3.999/branches/merge_to_3.8.2/   (props changed)
   rt/3.999/branches/merge_to_3.8.2/t/mail/gateway.t

Log:
 r19475 at sunnavys-mb:  sunnavy | 2009-02-03 20:42:09 +0800
 txn->type is lower case, fix t/mail/gateway.t because of this


Modified: rt/3.999/branches/merge_to_3.8.2/t/mail/gateway.t
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/t/mail/gateway.t	(original)
+++ rt/3.999/branches/merge_to_3.8.2/t/mail/gateway.t	Tue Feb  3 07:43:10 2009
@@ -163,7 +163,7 @@
     $transactions->limit( column => 'type', operator => '!=', value => 'email_record');
     my $txn = $transactions->first;
     isa_ok ($txn, 'RT::Model::Transaction');
-    is ($txn->type, 'Create', "correct type");
+    is ($txn->type, 'create', "correct type");
 
     my $attachment = $txn->attachments->first;
     isa_ok ($attachment, 'RT::Model::Attachment');
@@ -197,7 +197,7 @@
     $transactions->limit( column => 'type', operator => '!=', value => 'email_record');
     my $txn = $transactions->first;
     isa_ok ($txn, 'RT::Model::Transaction');
-    is ($txn->type, 'Create', "correct type");
+    is ($txn->type, 'create', "correct type");
 
     my $attachment = $txn->attachments->first;
     isa_ok ($attachment, 'RT::Model::Attachment');


More information about the Rt-commit mailing list