fleet/orbit/pkg/insecure/proxy_test.go
Tomas Touceda 3ac8494d23 Add 'orbit/' from commit 'ab3047bb39f1e2be331d1ff18b4eb768619033c4'
git-subtree-dir: orbit
git-subtree-mainline: d5974aad97
git-subtree-split: ab3047bb39
2021-08-04 16:58:25 -03:00

17 lines
263 B
Go

package insecure
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestProxy(t *testing.T) {
t.Parallel()
proxy, err := NewTLSProxy("localhost")
require.NoError(t, err)
assert.NotZero(t, proxy.Port)
}