
sartak at bestpractical
Nov 17, 2009, 12:04 PM
Post #1 of 1
(314 views)
Permalink
|
|
rt branch, create-action, updated. 89d0c2ac181e8eb1bfbdfa892e5a65a1f1dc701c
|
|
The branch, create-action has been updated via 89d0c2ac181e8eb1bfbdfa892e5a65a1f1dc701c (commit) from 452d508d860fe06788862f4cfe69a38803abec80 (commit) Summary of changes: t/api/cf_transaction.t | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) - Log ----------------------------------------------------------------- commit 89d0c2ac181e8eb1bfbdfa892e5a65a1f1dc701c Author: Shawn M Moore <sartak [at] bestpractical> Date: Tue Nov 17 15:03:54 2009 -0500 Use the newer CF API diff --git a/t/api/cf_transaction.t b/t/api/cf_transaction.t index 7bff069..2aa67a3 100644 --- a/t/api/cf_transaction.t +++ b/t/api/cf_transaction.t @@ -46,7 +46,7 @@ is ($txn_cf->id, $cf->id, "It's the right custom field"); my $values = $trans->custom_field_values($txn_cf->id); is ($values->count, 0, "It has no values"); -my %cf_updates = ( 'CustomField-'.$cf->id => 'Testing'); +my %cf_updates = ( 'cf_'.$cf->id => 'Testing'); $trans->update_custom_fields(%cf_updates); $values = $trans->custom_field_values($txn_cf->id); ----------------------------------------------------------------------- _______________________________________________ Rt-commit mailing list Rt-commit [at] lists http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
|