diff --git a/t/db_dependent/Calendar.t b/t/db_dependent/Calendar.t index 0159f1c069..af782cfc72 100644 --- a/t/db_dependent/Calendar.t +++ b/t/db_dependent/Calendar.t @@ -54,6 +54,7 @@ my $holiday = $builder->build( } ); +t::lib::Mocks::mock_preference('useDaysMode', 'Calendar'); my $calendar = Koha::Calendar->new( branchcode => $library->branchcode ); subtest 'days_forward' => sub {