X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Fweb%2Fcf_datetime.t;h=da938ab85425301b1086bfa9ad24039bc04ebcfd;hb=01721976fa3324f41a3093cda68bc38a7eec5ff5;hp=72a8b3f7e7a58e0b8a6b0daaea73d52ad04c058a;hpb=4e7efe58f1a20dfc4fd306fad2c14c8040585be1;p=freeside.git diff --git a/rt/t/web/cf_datetime.t b/rt/t/web/cf_datetime.t index 72a8b3f7e..da938ab85 100644 --- a/rt/t/web/cf_datetime.t +++ b/rt/t/web/cf_datetime.t @@ -24,7 +24,7 @@ if ( ( $ENV{RT_TEST_WEB_HANDLER} || '' ) =~ /^apache(\+mod_perl)?$/ 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 => { @@ -47,7 +47,7 @@ ok $queue && $queue->id, 'loaded or created queue'; $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'); $m->form_name('EditCustomFields'); @@ -212,7 +212,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';