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

(-)a/t/db_dependent/Koha/Object.t (-2 / +1 lines)
Lines 410-416 subtest 'store() tests' => sub { Link Here
410
            $patron->lastseen('wrong_value')->store;
410
            $patron->lastseen('wrong_value')->store;
411
        } catch {
411
        } catch {
412
            ok( $_->isa('Koha::Exceptions::Object::BadValue'), 'Exception thrown correctly' );
412
            ok( $_->isa('Koha::Exceptions::Object::BadValue'), 'Exception thrown correctly' );
413
            like( $_->property, qr/borrowers\.lastseen/, 'Column should be the expected one' );
413
            like( $_->property, qr/(borrowers\.)?lastseen/, 'Column should be the expected one' ); # The table name is not always displayed, it depends on the DBMS version
414
            is( $_->value, 'wrong_value', 'Value should be the expected one' );
414
            is( $_->value, 'wrong_value', 'Value should be the expected one' );
415
        };
415
        };
416
416
417
- 

Return to bug 23825