[Rt-commit] rt branch, create-action, updated. 89d0c2ac181e8eb1bfbdfa892e5a65a1f1dc701c

sartak at bestpractical.com sartak at bestpractical.com
Tue Nov 17 15:04:08 EST 2009


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.com>
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);

-----------------------------------------------------------------------


More information about the Rt-commit mailing list