func runServer(t *testing.T, setup *taas.ServerSetup) *taas.Server { server := taas.NewServer(setup) go serverHandler(t, server) return server }
func runServer(t *testing.T, serverType taas.ServerType, authType taas.AuthType) *taas.Server { server := taas.NewServer(serverType, authType, 20) go serverHandler(t, server) return server }