More middleware unit tests cover all current auth mechanisms

This commit is contained in:
Torkel Ödegaard
2015-05-02 09:24:56 +02:00
parent f416e2d1ac
commit ba883d25fe
3 changed files with 181 additions and 77 deletions

View File

@@ -121,3 +121,7 @@ func Dispatch(msg Msg) error {
func Publish(msg Msg) error {
return globalBus.Publish(msg)
}
func ClearBusHandlers() {
globalBus = New()
}