forked from Silverfish/proton-bridge
test: empty auth update channel in tests
This commit is contained in:
committed by
Michal Horejsek
parent
8f15041d8f
commit
7d30459417
12
pkg/pmapi/clientmanager_test.go
Normal file
12
pkg/pmapi/clientmanager_test.go
Normal file
@ -0,0 +1,12 @@
|
||||
package pmapi
|
||||
|
||||
func newTestClientManager(cfg *ClientConfig) *ClientManager {
|
||||
cm := NewClientManager(cfg)
|
||||
|
||||
go func() {
|
||||
for range cm.authUpdates {
|
||||
}
|
||||
}()
|
||||
|
||||
return cm
|
||||
}
|
||||
Reference in New Issue
Block a user