From d7d64c0718cfbb816e9677baecf722427060d3b5 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 28 Sep 2015 10:54:55 +0200 Subject: [PATCH] Bug 14905: Search_utf8.t fails to upload a file Running the test fails on test 7: not ok 7 - upload succeeded The changes on bug 14321 included a temp flag for script upload-file.pl. Since this upload for stage-marc-import should be temporary, adding this flag to line 131 resolves the problem. Test plan: Run the adjusted test. NOTE: I still had some problems with this test. And will still be looking to these errors (perhaps open a new report). But this fix should at least fix the above-mentioned test. Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- t/db_dependent/www/search_utf8.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/www/search_utf8.t b/t/db_dependent/www/search_utf8.t index 737ed39017..6229254eb9 100644 --- a/t/db_dependent/www/search_utf8.t +++ b/t/db_dependent/www/search_utf8.t @@ -128,7 +128,7 @@ sub test_search{ 'go to stage MARC' ); $agent->post( - "$intranet/cgi-bin/koha/tools/upload-file.pl", + "$intranet/cgi-bin/koha/tools/upload-file.pl?temp=1", [ 'fileToUpload' => [$file], ], 'Content_Type' => 'form-data', ); -- 2.39.5