Bug 28123: Fix expected value in unit test
Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
52f997fcfc
commit
559950cae6
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ subtest 'Testing download headers' => sub {
|
|||
plan tests => 2;
|
||||
my $test_pdf = Koha::UploadedFile->new({ filename => 'pdf.pdf', uploadcategorycode => 'B', filesize => 1000 });
|
||||
my $test_not = Koha::UploadedFile->new({ filename => 'pdf.not', uploadcategorycode => 'B', filesize => 1000 });
|
||||
my @pdf_expect = ( '-type'=>'application/pdf','Content-Disposition'=>'inline; filename=pdf.pdf' );
|
||||
my @pdf_expect = ( '-type'=>'application/pdf','Content-Disposition'=>'inline; filename="pdf.pdf"' );
|
||||
my @not_expect = ( '-type'=>'application/octet-stream','-attachment'=>'pdf.not' );
|
||||
my @pdf_head = $test_pdf->httpheaders;
|
||||
my @not_head = $test_not->httpheaders;
|
||||
|
|
Loading…
Reference in a new issue