[Rt-commit] r18146 - in rt/3.999/branches/merge_to_3.8.2: t/api
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Tue Feb 3 07:42:54 EST 2009
Author: sunnavy
Date: Tue Feb 3 07:42:53 2009
New Revision: 18146
Modified:
rt/3.999/branches/merge_to_3.8.2/ (props changed)
rt/3.999/branches/merge_to_3.8.2/t/api/cf_transaction.t
Log:
r19474 at sunnavys-mb: sunnavy | 2009-02-03 20:39:12 +0800
case fixes for t/api/cf_transaction.t
Modified: rt/3.999/branches/merge_to_3.8.2/t/api/cf_transaction.t
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/t/api/cf_transaction.t (original)
+++ rt/3.999/branches/merge_to_3.8.2/t/api/cf_transaction.t Tue Feb 3 07:42:53 2009
@@ -16,7 +16,7 @@
ok($id,$msg);
my $cf = RT::Model::CustomField->new(current_user => RT->system_user);
-($id,$msg) = $cf->create(name => 'Txnfreeform-'.$$, type => 'Freeform', MaxValues => '0', lookup_type => RT::Model::Transaction->custom_field_lookup_type );
+($id,$msg) = $cf->create(name => 'Txnfreeform-'.$$, type => 'Freeform', max_values => '0', lookup_type => RT::Model::Transaction->custom_field_lookup_type );
ok($id,$msg);
@@ -38,7 +38,7 @@
is($trans->object_id,$id);
is ($trans->object_type, 'RT::Model::Ticket');
-is ($trans->type, 'Create');
+is ($trans->type, 'create');
my $txncfs = $trans->custom_fields;
is ($txncfs->count, 1, "We have one custom field");
my $txn_cf = $txncfs->first;
More information about the Rt-commit
mailing list