From 348cfe6e0aa49e5149eef2bd8e6eda75a7706e60 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 Signed-off-by: Brendan A Gallagher --- 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 495467f850..681476b59d 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.39.5