19 lines
464 B
Go
19 lines
464 B
Go
package httpapi
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"git.send.nrw/sendnrw/dockwatch/internal/audit"
|
|
"git.send.nrw/sendnrw/dockwatch/internal/auth"
|
|
"git.send.nrw/sendnrw/dockwatch/internal/config"
|
|
)
|
|
|
|
func TestRouterPatternsDoNotConflict(t *testing.T) {
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
t.Fatalf("ServeMux route conflict: %v", r)
|
|
}
|
|
}()
|
|
_ = New(config.Config{Mode: config.ModeStandalone}, &auth.Service{}, nil, nil, nil, (*audit.Service)(nil), nil, nil)
|
|
}
|