View | Details | Raw Unified | Return to bug 23234
Collapse All | Expand All

(-)a/t/db_dependent/Circulation.t (-2 / +1 lines)
Lines 101-107 my $builder = t::lib::TestBuilder->new; Link Here
101
my $dbh = C4::Context->dbh;
101
my $dbh = C4::Context->dbh;
102
102
103
# Prevent random failures by mocking ->now
103
# Prevent random failures by mocking ->now
104
my $now_value       = DateTime->now();
104
my $now_value       = dt_from_string;
105
my $mocked_datetime = Test::MockModule->new('DateTime');
105
my $mocked_datetime = Test::MockModule->new('DateTime');
106
$mocked_datetime->mock( 'now', sub { return $now_value->clone; } );
106
$mocked_datetime->mock( 'now', sub { return $now_value->clone; } );
107
107
108
- 

Return to bug 23234