From f8caa3c37bfc19418fde0d7f4925eb5b8993d545 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 22 Feb 2018 15:47:21 -0300 Subject: [PATCH] Bug 20287: New warning in t/db_dependent/Koha/Object.t (?) Signed-off-by: Josef Moravec Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize --- t/db_dependent/Koha/Object.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/Object.t b/t/db_dependent/Koha/Object.t index 7630105e8e..d7e13cfbcd 100755 --- a/t/db_dependent/Koha/Object.t +++ b/t/db_dependent/Koha/Object.t @@ -251,7 +251,7 @@ subtest 'store() tests' => sub { my $patron = Koha::Patron->new({ categorycode => $category_id }); my $print_error = $schema->storage->dbh->{PrintError}; - $schema->storage->dbh->{PrintError} = 0; + $schema->storage->dbh->{PrintError} = 0; # FIXME This does not longer work - because of the transaction in Koha::Patron->store? throws_ok { $patron->store } 'Koha::Exceptions::Object::FKConstraint', -- 2.11.0