From fa1860a4a88fbd6101ae300b8861ff1728f3e4da Mon Sep 17 00:00:00 2001 From: Harshil Sharma Date: Thu, 31 Mar 2022 10:52:21 +0530 Subject: [PATCH] lint fix --- server/app/templates_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/app/templates_test.go b/server/app/templates_test.go index 37defa865..4092f366c 100644 --- a/server/app/templates_test.go +++ b/server/app/templates_test.go @@ -38,7 +38,7 @@ func TestApp_initializeTemplates(t *testing.T) { th, tearDown := SetupTestHelper(t) defer tearDown() - th.Store.EXPECT().GetTemplateBoards(globalTeamID).Return([]*model.Board{}, nil) + th.Store.EXPECT().GetTemplateBoards(globalTeamID, "").Return([]*model.Board{}, nil) th.Store.EXPECT().RemoveDefaultTemplates([]*model.Board{}).Return(nil) th.Store.EXPECT().CreateBoardsAndBlocks(gomock.Any(), gomock.Any()).AnyTimes().Return(boardsAndBlocks, nil) th.Store.EXPECT().GetMembersForBoard(board.ID).AnyTimes().Return([]*model.BoardMember{}, nil) @@ -54,7 +54,7 @@ func TestApp_initializeTemplates(t *testing.T) { th, tearDown := SetupTestHelper(t) defer tearDown() - th.Store.EXPECT().GetTemplateBoards(globalTeamID).Return([]*model.Board{board}, nil) + th.Store.EXPECT().GetTemplateBoards(globalTeamID, "").Return([]*model.Board{board}, nil) done, err := th.App.initializeTemplates() require.NoError(t, err, "initializeTemplates should not error")