Skip to content

Commit

Permalink
Fixing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
getvictor committed Jan 2, 2025
1 parent ef36e13 commit dbb362a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion server/mdm/nanomdm/storage/file/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func (s *FileStorage) ExpandEmbeddedSecrets(_ context.Context, document string)
return document, nil
}

func (m *FileStorage) BulkDeleteHostUserCommandsWithoutResults(_ context.Context, _ map[string][]string) error {
func (s *FileStorage) BulkDeleteHostUserCommandsWithoutResults(_ context.Context, _ map[string][]string) error {
// NOT IMPLEMENTED
return nil
}
4 changes: 4 additions & 0 deletions server/service/apple_mdm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2293,6 +2293,10 @@ func TestMDMAppleReconcileAppleProfiles(t *testing.T) {
require.Empty(t, payload)
return nil
}
mdmStorage.BulkDeleteHostUserCommandsWithoutResultsFunc = func(ctx context.Context, commandToIDs map[string][]string) error {
require.Empty(t, commandToIDs)
return nil
}

var enqueueFailForOp fleet.MDMOperationType
var mu sync.Mutex
Expand Down

0 comments on commit dbb362a

Please sign in to comment.