fleet/server/mock/datastore_appconfig_helpers.go
2021-06-25 21:46:51 -07:00

10 lines
196 B
Go

package mock
import "github.com/fleetdm/fleet/v4/server/fleet"
func ReturnFakeAppConfig(fake *fleet.AppConfig) AppConfigFunc {
return func() (*fleet.AppConfig, error) {
return fake, nil
}
}