From: Jonathan Druart Date: Tue, 6 Feb 2018 14:08:02 +0000 (-0300) Subject: Bug 20144: [sql_modes] Add default value for export_basket.description in tests X-Git-Tag: v18.05.00-rc1~915 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=406a480a780e67d3386e354907f8fac674257c17;p=srvgit Bug 20144: [sql_modes] Add default value for export_basket.description in tests Fix for: Field 'description' doesn't have a default value Signed-off-by: Josef Moravec Signed-off-by: Julian Maurice Signed-off-by: Jonathan Druart --- diff --git a/t/db_dependent/Acquisition/GetBasketAsCSV.t b/t/db_dependent/Acquisition/GetBasketAsCSV.t index 6de23d147e..0f61dc2199 100644 --- a/t/db_dependent/Acquisition/GetBasketAsCSV.t +++ b/t/db_dependent/Acquisition/GetBasketAsCSV.t @@ -37,6 +37,7 @@ my $csv_profile = Koha::CsvProfile->new({ type => 'export_basket', csv_separator => ',', content => 'autor=biblio.author|title=biblio.title|quantity=aqorders.quantity', + description => 'csv profile', })->store; my $csv_profile2 = Koha::CsvProfile->new({ @@ -44,6 +45,7 @@ my $csv_profile2 = Koha::CsvProfile->new({ type => 'export_basket', csv_separator => ',', content => 'biblio.author | title = biblio.title|quantity=aqorders.quantity', + description => 'csv profile 2', })->store; my $basketno;