{
# Hiding the expected warning displayed by DBI
# DBD::mysql::st execute failed: Incorrect datetime value: 'bad_date' for column 'returndate'
my $stderr;
local *STDERR;
open STDERR, '>', '/dev/null';
throws_ok
# DBD::mysql::st execute failed: Incorrect date value: 'invalid date!' for column 'manageddate'
-