Chore: Add org methods to org service and store (#55579)

* Add org methods to org service and store

* Fix name of fake

* Remove unused fake

* Add xorm tags and half of a test

* Add cmment for clarifying missing part of test

* Add some comments about future refactors

* Rename test

* Add test for update org address
This commit is contained in:
idafurjes
2022-09-21 18:00:18 +02:00
committed by GitHub
parent 23afb0c04e
commit 48a8b35ece
7 changed files with 200 additions and 2 deletions
+8
View File
@@ -83,3 +83,11 @@ func (f *FakeOrgStore) DeleteUserFromAll(ctx context.Context, userID int64) erro
func (f *FakeOrgStore) Update(ctx context.Context, cmd *org.UpdateOrgCommand) error {
return f.ExpectedError
}
func (f *FakeOrgStore) UpdateAddress(ctx context.Context, cmd *org.UpdateOrgAddressCommand) error {
return f.ExpectedError
}
func (f *FakeOrgStore) Delete(ctx context.Context, cmd *org.DeleteOrgCommand) error {
return f.ExpectedError
}