Sfoglia il codice sorgente

remove tests related to proxy port

Abhishek Kondur 2 anni fa
parent
commit
94ddf83055
1 ha cambiato i file con 1 aggiunte e 22 eliminazioni
  1. 1 22
      logic/host_test.go

+ 1 - 22
logic/host_test.go

@@ -59,26 +59,5 @@ func TestCheckPorts(t *testing.T) {
 		t.Log(h.ListenPort)
 		is.Equal(testHost.ListenPort, 51822)
 	})
-	t.Run("same proxy port", func(t *testing.T) {
-		is := is.New(t)
-		CheckHostPorts(&testHost)
-		t.Log(testHost.ListenPort)
-		t.Log(h.ListenPort)
-		is.Equal(testHost.ListenPort, 51822)
-	})
-	t.Run("listenport equals proxy port", func(t *testing.T) {
-		is := is.New(t)
-		testHost.ListenPort = maxPort
-		CheckHostPorts(&testHost)
-		t.Log(testHost.ListenPort)
-		t.Log(h.ListenPort)
-		is.Equal(testHost.ListenPort, minPort)
-	})
-	t.Run("proxyport equals listenport", func(t *testing.T) {
-		is := is.New(t)
-		CheckHostPorts(&testHost)
-		t.Log(testHost.ListenPort)
-		t.Log(h.ListenPort)
-		is.Equal(testHost.ListenPort, minPort)
-	})
+
 }