Browse Source

test(vpn): remove client ovpn config nopull check

Mustafa Arici 8 năm trước cách đây
mục cha
commit
0f211905e5
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  1. 0 6
      vpn_test.go

+ 0 - 6
vpn_test.go

@@ -279,12 +279,6 @@ func TestVPNDumpClientConfig(t *testing.T) {
 	// Read file.
 	clientConfigBlob = fs["/tmp/user.ovpn"]
 
-	// Is noGW honored?
-	if strings.Contains(clientConfigBlob, "route-nopull") != noGW {
-		logrus.Info(clientConfigBlob)
-		t.Fatalf("client config generator doesn't honor NoGW")
-	}
-
 }
 
 func TestVPNGetSystemCA(t *testing.T) {