From 791ce1519c8a1d741f6cff278e6e2e01a25c823f Mon Sep 17 00:00:00 2001 From: Rory McKinley Date: Mon, 18 Nov 2024 13:19:51 +0200 Subject: [PATCH] Adjust stub --- test/lightning/usage_tracking/day_worker_test.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/lightning/usage_tracking/day_worker_test.exs b/test/lightning/usage_tracking/day_worker_test.exs index 5959725a72..07c6bc86fa 100644 --- a/test/lightning/usage_tracking/day_worker_test.exs +++ b/test/lightning/usage_tracking/day_worker_test.exs @@ -17,8 +17,8 @@ defmodule Lightning.UsageTracking.DayWorkerTest do # to prevent the tests flickering - e.g if .utc_now() changes during # the execution of the test setup do - stub(Lightning.MockConfig, :usage_tracking, fn -> - %{enabled: true} + stub(Lightning.MockConfig, :usage_tracking_enabled?, fn -> + true end) :ok