[Rt-commit] rt branch, 4.4.2-releng, updated. rt-4.4.1-425-g17da0d1

Shawn Moore shawn at bestpractical.com
Thu Jun 1 14:18:42 EDT 2017


The branch, 4.4.2-releng has been updated
       via  17da0d115b11cb598de2bcccc90f5df39ea87c63 (commit)
      from  ff7a84730eaae66f82f48e0932e8b4b751ba8371 (commit)

Summary of changes:
 t/web/ticket_txn_cf.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 17da0d115b11cb598de2bcccc90f5df39ea87c63
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Thu Jun 1 16:53:56 2017 +0000

    Fix failing t/web/ticket_txn_cf.t test
    
    This happened because a message changed in 4.4 from "Object created" to
    "Added custom field CF to Queue" (ff8e561fb5a), which caused a test
    written against 4.2 (9484c107) to start failing when it got merged up
    into 4.4.

diff --git a/t/web/ticket_txn_cf.t b/t/web/ticket_txn_cf.t
index f9db9a1..f902742 100644
--- a/t/web/ticket_txn_cf.t
+++ b/t/web/ticket_txn_cf.t
@@ -45,7 +45,7 @@ ok $queue && $queue->id, 'loaded or created queue';
     $m->tick( "AddCustomField" => $cfid );
     $m->click('UpdateCFs');
 
-    $m->content_contains('Object created', 'TCF added to the queue' );
+    $m->content_contains('Added custom field test txn cf to General.', 'TCF added to the queue' );
 }
 
 my ( $ticket, $id );

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


More information about the rt-commit mailing list