@@ -, +, @@ $ kshell k$ t/db_dependent/Koha/Items.t --- t/db_dependent/Koha/Items.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/t/db_dependent/Koha/Items.t +++ a/t/db_dependent/Koha/Items.t @@ -1751,7 +1751,7 @@ subtest 'filter_by_visible_in_opac() tests' => sub { $rules = { itemlost => ['AB'] }; my $c = Koha::Items->filter_by_visible_in_opac->count; my @warnings = C4::Context->dbh->selectrow_array('SHOW WARNINGS'); - is( $warnings[2], q{Truncated incorrect DOUBLE value: 'AB'}); + like( $warnings[2], qr/Truncated incorrect (DOUBLE|DECIMAL) value: 'AB'/); $schema->storage->txn_rollback; }; --