mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
16 lines
263 B
Go
16 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)
|
|
}
|