safing-portmaster/netenv/online-status_test.go
2020-04-02 17:08:02 +02:00

12 lines
237 B
Go

package netenv
import (
"context"
"testing"
)
func TestCheckOnlineStatus(t *testing.T) {
checkOnlineStatus(context.Background())
t.Logf("online status: %s", GetOnlineStatus())
t.Logf("captive portal: %s", GetCaptivePortalURL())
}