feat: add kafka admin integration
This commit is contained in:
@@ -27,6 +27,13 @@ func (s testTenantStore) GetByID(types.TenantID) (*types.Tenant, error) {
|
||||
return s.tenant, s.err
|
||||
}
|
||||
|
||||
func (s testTenantStore) ListActive(int) ([]types.Tenant, error) {
|
||||
if s.err != nil || s.tenant == nil {
|
||||
return nil, s.err
|
||||
}
|
||||
return []types.Tenant{*s.tenant}, nil
|
||||
}
|
||||
|
||||
func test_makeSession(uid types.Uid) *Session {
|
||||
return &Session{
|
||||
send: make(chan any, 10),
|
||||
|
||||
Reference in New Issue
Block a user