safing-portmaster/service/netenv/online-status_test.go

14 lines
250 B
Go

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