@@ -, +, @@ --- t/db_dependent/Koha/Database.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/t/db_dependent/Koha/Database.t +++ a/t/db_dependent/Koha/Database.t @@ -16,9 +16,11 @@ # along with Koha; if not, see . use Modern::Perl; -use Test::More tests => 1; +use Test::More tests => 2; use C4::Context; my $dbh = C4::Context->dbh; my $sql_mode = $dbh->selectrow_array(q|SELECT @@SQL_MODE|); like( $sql_mode, qr{STRICT_TRANS_TABLES}, 'Strict SQL modes must be turned on for tests' ); + +is( $dbh->{RaiseError}, 1, 'RaiseError must be turned on for tests' ); --