Bugzilla – Attachment 64168 Details for
Bug 18773
t/db_dependent/www/history.t is failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18773: Fix failing history.t test
Bug-18773-Fix-failing-historyt-test.patch (text/plain), 1.66 KB, created by
Mark Tompsett
on 2017-06-09 22:57:45 UTC
(
hide
)
Description:
Bug 18773: Fix failing history.t test
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-06-09 22:57:45 UTC
Size:
1.66 KB
patch
obsolete
>From 4c83f46569c7980ea943ac7ae3ab4e3b5eaf20a2 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Fri, 9 Jun 2017 18:52:17 -0400 >Subject: [PATCH] Bug 18773: Fix failing history.t test > >changed get() to get_ok() and increased test count to match. >Now the master build will only fail on search_utf8.t > >TEST PLAN >--------- >assuming KOHA_CONF is set. >$ export KOHA_INTRANET_URL=... >$ export KOHA_OPAC_URL=... >$ prove -v t/db_dependent/www/history.t > >run koha qa test tools >--- > t/db_dependent/www/history.t | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/t/db_dependent/www/history.t b/t/db_dependent/www/history.t >index 0ad9c94..b71f7b6 100644 >--- a/t/db_dependent/www/history.t >+++ b/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'); >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18773
:
64168
|
64174
|
64200