Implement preference service (#47870)

* Implement preference service

* Adjust wire.go

* Fix integration test user

* Fix api pref tests

* Fix a11y error

Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
This commit is contained in:
idafurjes
2022-04-21 15:03:17 +02:00
committed by GitHub
co-authored by Alexandra Vargas Emil Tullstedt
parent 03cf38e659
commit dbcaedac6c
18 changed files with 132 additions and 629 deletions
+4
View File
@@ -30,3 +30,7 @@ func (f *FakePreferenceService) Save(ctx context.Context, cmd *pref.SavePreferen
func (f *FakePreferenceService) GetDefaults() *pref.Preference {
return f.ExpectedPreference
}
func (f *FakePreferenceService) Patch(ctx context.Context, cmd *pref.PatchPreferenceCommand) error {
return f.ExpectedError
}