Bug 20144: [sql_modes] Add default value for export_basket.description in tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 6 Feb 2018 14:08:02 +0000 (11:08 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 13 Feb 2018 16:58:57 +0000 (13:58 -0300)
Fix for:
Field 'description' doesn't have a default value

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Acquisition/GetBasketAsCSV.t

index 6de23d1..0f61dc2 100644 (file)
@@ -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;