From 26f1302c20d3196b390640889d28088ca338ace9 Mon Sep 17 00:00:00 2001 From: Lucas dos Santos Abreu Date: Fri, 14 Jun 2024 09:23:32 -0300 Subject: [PATCH] fix: unit tests --- pkg/cmd/time-entry/report/today/today_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/time-entry/report/today/today_test.go b/pkg/cmd/time-entry/report/today/today_test.go index 9d7d2a13..05a2578b 100644 --- a/pkg/cmd/time-entry/report/today/today_test.go +++ b/pkg/cmd/time-entry/report/today/today_test.go @@ -164,7 +164,7 @@ func TestCmdToday(t *testing.T) { f.On("GetUserID").Return("user-id", nil) f.On("GetWorkspaceID").Return("w-id", nil) - f.On("Config").Return(mocks.NewMockConfig(t)) + f.On("Config").Return(&mocks.SimpleConfig{}) c := mocks.NewMockClient(t) f.On("Client").Return(c, nil)