From cd65fea23bffcb829bb50f047ea4a44bdb6311e9 Mon Sep 17 00:00:00 2001 From: Audrius Butkevicius Date: Sat, 20 Jun 2020 22:20:54 +0100 Subject: [PATCH] Fix tests --- lib/api/mocked_model_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/api/mocked_model_test.go b/lib/api/mocked_model_test.go index 24eba2533..553507c4c 100644 --- a/lib/api/mocked_model_test.go +++ b/lib/api/mocked_model_test.go @@ -15,6 +15,7 @@ import ( "github.com/syncthing/syncthing/lib/model" "github.com/syncthing/syncthing/lib/protocol" "github.com/syncthing/syncthing/lib/stats" + "github.com/syncthing/syncthing/lib/ur/contract" "github.com/syncthing/syncthing/lib/versioner" ) @@ -112,8 +113,7 @@ func (m *mockedModel) State(folder string) (string, time.Time, error) { return "", time.Time{}, nil } -func (m *mockedModel) UsageReportingStats(version int, preview bool) map[string]interface{} { - return nil +func (m *mockedModel) UsageReportingStats(r *contract.Report, version int, preview bool) { } func (m *mockedModel) FolderErrors(folder string) ([]model.FileError, error) {