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 <tomascohen@unc.edu.ar> Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
parent
74fbe017ef
commit
348cfe6e0a
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue