@@ -, +, @@ biblio.datecreated in tests --- t/db_dependent/UsageStats.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/t/db_dependent/UsageStats.t +++ a/t/db_dependent/UsageStats.t @@ -240,8 +240,8 @@ sub construct_objects_needed { $query = ' INSERT INTO biblio - (title, author) - VALUES (?,?)'; + (title, author, datecreated) + VALUES (?,?, NOW())'; $insert_sth = $dbh->prepare($query); $insert_sth->execute( $title1, $author1 ); my $biblionumber1 = $dbh->last_insert_id( undef, undef, 'biblio', undef ); --