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

(-)a/t/db_dependent/Koha/Object.t (-2 / +1 lines)
Lines 251-257 subtest 'store() tests' => sub { Link Here
251
    my $patron = Koha::Patron->new({ categorycode => $category_id });
251
    my $patron = Koha::Patron->new({ categorycode => $category_id });
252
252
253
    my $print_error = $schema->storage->dbh->{PrintError};
253
    my $print_error = $schema->storage->dbh->{PrintError};
254
    $schema->storage->dbh->{PrintError} = 0;
254
    $schema->storage->dbh->{PrintError} = 0; # FIXME This does not longer work - because of the transaction in Koha::Patron->store?
255
    throws_ok
255
    throws_ok
256
        { $patron->store }
256
        { $patron->store }
257
        'Koha::Exceptions::Object::FKConstraint',
257
        'Koha::Exceptions::Object::FKConstraint',
258
- 

Return to bug 20287