From 63da10708d465b18756cbe11526c03fe686bee63 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 29 Feb 2016 14:27:59 -0300 Subject: [PATCH] Bug 15288: (QA followup) Tests still point to old 500.tt file This patch fixes the t/db_dependent/Auth.t so they don't look for the removed file and use the new one instead. To test: - On master, run $ prove t/db_dependent/Auth.t => FAIL: You get something similar to this: - Apply the patch - Re-run the tests => SUCCESS: Tests now pass. Signed-off-by: Tomas Cohen Arazi --- t/db_dependent/Auth.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Auth.t b/t/db_dependent/Auth.t index 495467f..681476b 100644 --- a/t/db_dependent/Auth.t +++ b/t/db_dependent/Auth.t @@ -130,7 +130,7 @@ $dbh->{RaiseError} = 1; } ( $template, $loggedinuser, $cookies ) = get_template_and_user( { - template_name => 'errors/500.tt', + template_name => 'errors/errorpage.tt', query => $query, type => "intranet", authnotrequired => 1, @@ -138,7 +138,7 @@ $dbh->{RaiseError} = 1; } ); my $file_exists = ( -f $template->{filename} ) ? 1 : 0; - is ( $file_exists, 1, 'The file errors/500.tt should be accessible (contains integers)' ); + is ( $file_exists, 1, 'The file errors/errorpage.tt should be accessible (contains integers)' ); } # Check that there is always an OPACBaseURL set. -- 2.7.0