@@ -, +, @@ --------- --- t/db_dependent/www/history.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/t/db_dependent/www/history.t +++ a/t/db_dependent/www/history.t @@ -21,7 +21,7 @@ use utf8; use XML::Simple; use Encode; -use Test::More tests => 2; +use Test::More tests => 4; use Test::WWW::Mechanize; my $koha_conf = $ENV{KOHA_CONF}; @@ -48,13 +48,13 @@ $intranet =~ s#/$##; my $agent = Test::WWW::Mechanize->new( autocheck => 1 ); # Login -$agent->get( "$intranet/cgi-bin/koha/mainpage.pl", 'Load the intranet login page' ); +$agent->get_ok( "$intranet/cgi-bin/koha/mainpage.pl", 'Load the intranet login page' ); $agent->form_name('loginform'); $agent->field( 'password', $password ); $agent->field( 'userid', $user ); $agent->field( 'branch', '' ); $agent->click( '', 'Login to the intranet' ); -$agent->get( "$intranet/cgi-bin/koha/about.pl", 'Load the about page' ); +$agent->get_ok( "$intranet/cgi-bin/koha/about.pl", 'Load the about page' ); # Test about > timeline is correctly encoded my $encoded_latin_name = Encode::encode('UTF-8', 'Frédéric Demians'); --