Bugzilla – Attachment 128847 Details for
Bug 19318
Add ability to use custom file upload paths
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19318: (follow-up) remove uploadcategory column from tests
Bug-19318-follow-up-remove-uploadcategory-column-f.patch (text/plain), 1.30 KB, created by
Nick Clemens (kidclamp)
on 2021-12-21 16:11:22 UTC
(
hide
)
Description:
Bug 19318: (follow-up) remove uploadcategory column from tests
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-12-21 16:11:22 UTC
Size:
1.30 KB
patch
obsolete
>From fa8ee664ae29c929724e867a9a72477125428e4b Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 21 Dec 2021 13:45:09 +0000 >Subject: [PATCH] Bug 19318: (follow-up) remove uploadcategory column from > tests > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > t/db_dependent/Upload.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Upload.t b/t/db_dependent/Upload.t >index 093dbe20e5..1048a1a611 100755 >--- a/t/db_dependent/Upload.t >+++ b/t/db_dependent/Upload.t >@@ -334,8 +334,8 @@ subtest 'Testing delete_temporary' => sub { > > 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 $test_pdf = Koha::UploadedFile->new({ filename => 'pdf.pdf', filesize => 1000 }); >+ my $test_not = Koha::UploadedFile->new({ filename => 'pdf.not', filesize => 1000 }); > 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; >-- >2.20.1
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 19318
:
71017
|
78620
|
89219
|
118421
|
120101
|
120102
|
127584
|
127585
|
128844
|
128845
|
128846
|
128847
|
133772
|
133773
|
133774
|
133775