@@ -, +, @@ --- t/db_dependent/Circulation.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/t/db_dependent/Circulation.t +++ a/t/db_dependent/Circulation.t @@ -101,7 +101,7 @@ my $builder = t::lib::TestBuilder->new; my $dbh = C4::Context->dbh; # Prevent random failures by mocking ->now -my $now_value = DateTime->now(); +my $now_value = dt_from_string; my $mocked_datetime = Test::MockModule->new('DateTime'); $mocked_datetime->mock( 'now', sub { return $now_value->clone; } ); --