X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Fweb%2Fcf_date.t;h=a38388972680d6018e14cb0cf134d0f9589ee34d;hb=88e9a56677d343392416c262f976f069157b06cb;hp=2180e140f798056acec178aef9740c7d481c1033;hpb=4e7efe58f1a20dfc4fd306fad2c14c8040585be1;p=freeside.git diff --git a/rt/t/web/cf_date.t b/rt/t/web/cf_date.t index 2180e140f..a38388972 100644 --- a/rt/t/web/cf_date.t +++ b/rt/t/web/cf_date.t @@ -14,7 +14,7 @@ my $cf_name = 'test cf date'; my $cfid; diag "Create a CF"; { - $m->follow_link( id => 'tools-config-custom-fields-create'); + $m->follow_link( id => 'admin-custom-fields-create'); $m->submit_form( form_name => "ModifyCustomField", fields => { @@ -33,12 +33,12 @@ my $queue = RT::Test->load_or_create_queue( Name => 'General' ); ok $queue && $queue->id, 'loaded or created queue'; { - $m->follow_link( id => 'tools-config-queues-select'); + $m->follow_link( id => 'admin-queues-select'); $m->title_is( q/Admin queues/, 'admin-queues screen' ); $m->follow_link( text => 'General' ); $m->title_is( q/Configuration for queue General/, 'admin-queue: general' ); - $m->follow_link( text => 'Ticket Custom Fields' ); + $m->follow_link( id => 'page-custom-fields-tickets' ); $m->title_is( q/Custom Fields for queue General/, 'admin-queue: general cfid' ); @@ -186,7 +186,7 @@ diag 'check invalid inputs'; my @warnings = $m->get_warnings; chomp @warnings; - is_deeply( @warnings, q{Couldn't parse date 'foodate' by Time::ParseDate} ); + is_deeply( [@warnings], [(q{Couldn't parse date 'foodate' by Time::ParseDate})x2] ); } diag 'retain values when adding attachments';