From d402ba5a5c63fab11e5d9c2f008026e302f753f7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 5 Feb 2018 16:21:43 -0300 Subject: [PATCH] Bug 20144: [sql_modes] Shorten items.barcode It's a varchar(20) Fix for: Data too long for column 'barcode' t/db_dependent/Koha/Items.t Signed-off-by: Josef Moravec Signed-off-by: Julian Maurice --- t/db_dependent/Koha/Items.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/Items.t b/t/db_dependent/Koha/Items.t index 0864825034..862f8328c7 100644 --- a/t/db_dependent/Koha/Items.t +++ b/t/db_dependent/Koha/Items.t @@ -49,7 +49,7 @@ my $new_item_2 = Koha::Item->new( biblioitemnumber => $biblioitem->{biblioitemnumber}, homebranch => $library->{branchcode}, holdingbranch => $library->{branchcode}, - barcode => "another_barcode_for_t", + barcode => "another_bc_for_t", itype => 'BK', } )->store; -- 2.14.2