View | Details | Raw Unified | Return to bug 31473
Collapse All | Expand All

(-)a/t/db_dependent/Koha/Items.t (-2 / +1 lines)
Lines 1751-1757 subtest 'filter_by_visible_in_opac() tests' => sub { Link Here
1751
    $rules = { itemlost => ['AB'] };
1751
    $rules = { itemlost => ['AB'] };
1752
    my $c = Koha::Items->filter_by_visible_in_opac->count;
1752
    my $c = Koha::Items->filter_by_visible_in_opac->count;
1753
    my @warnings = C4::Context->dbh->selectrow_array('SHOW WARNINGS');
1753
    my @warnings = C4::Context->dbh->selectrow_array('SHOW WARNINGS');
1754
    is( $warnings[2], q{Truncated incorrect DOUBLE value: 'AB'});
1754
    like( $warnings[2], qr/Truncated incorrect (DOUBLE|DECIMAL) value: 'AB'/);
1755
1755
1756
    $schema->storage->txn_rollback;
1756
    $schema->storage->txn_rollback;
1757
};
1757
};
1758
- 

Return to bug 31473