Tests: Fix dashboard mock (#98647)

This commit is contained in:
Stephanie Hingtgen authored and GitHub committed 2025-01-08 00:20:35 +02:00
1 parent 25538bcfdf
commit 69adb3d25b
4 files changed
+4 -4

No files matched your search

@@ -401,7 +401,7 @@ func Test_DeletedDashboardsNotMigrated(t *testing.T) {
// modify what the mock returns for just this test case
dashMock := s.dashboardService.(*dashboards.FakeDashboardService)
dashMock.On("GetAllDashboardsByOrgId", mock.Anything).Return(
dashMock.On("GetAllDashboardsByOrgId", mock.Anything, int64(1)).Return(
[]*dashboards.Dashboard{
{UID: "1", OrgID: 1, Data: simplejson.New()},
{UID: "2", OrgID: 1, Data: simplejson.New(), Deleted: time.Now()},