This commit is contained in:
Austin
2026-09-21 13:14:30 +08:00
3 changed files with 168 additions and 2 deletions
+4
View File
@@ -304,6 +304,7 @@ type testGroupBusinessStore struct {
leftTopic string
leftUID types.Uid
updateSettingsErr error
getSettingsErr error
updateMemberErr error
}
@@ -319,6 +320,9 @@ func (s *testGroupBusinessStore) CreateSettings(_ types.TenantID, settings *type
}
func (s *testGroupBusinessStore) GetSettings(_ types.TenantID, topic string) (*types.GroupSettings, error) {
if s.getSettingsErr != nil {
return nil, s.getSettingsErr
}
if s.settings != nil {
return s.settings, nil
}