Fix failing test due to merge inaccuracies (#36273)

We merged #35685, but since it was hanging for some time another PR made
it in, and that PR was not updated to use latest main so the test
failure was not caught in CI.
This commit is contained in:
Magnus Jensen 2025-11-25 12:54:58 -03:00 committed by GitHub
parent 180a682546
commit 8ddb92de23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1614,6 +1614,14 @@ func TestMDMTokenUpdateIOS(t *testing.T) {
}, nil
}
ds.AppConfigFunc = func(context.Context) (*fleet.AppConfig, error) {
return &fleet.AppConfig{}, nil
}
ds.NewActivityFunc = func(ctx context.Context, user *fleet.User, activity fleet.ActivityDetails, details []byte, createdAt time.Time) error {
return nil
}
ds.NewJobFunc = func(ctx context.Context, j *fleet.Job) (*fleet.Job, error) {
return j, nil
}