Răsfoiți Sursa

Allow explicit disable for http test (eg, no server running)

hughsando 6 ani în urmă
părinte
comite
b50c5ab3f5
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      tests/unit/src/unit/TestMain.hx

+ 1 - 1
tests/unit/src/unit/TestMain.hx

@@ -71,7 +71,7 @@ class TestMain {
 			new TestCasts(),
 			new TestCasts(),
 			new TestSyntaxModule(),
 			new TestSyntaxModule(),
 			new TestNull(),
 			new TestNull(),
-			#if (!azure || !(php && Windows))
+			#if (!no_http && (!azure || !(php && Windows)))
 			new TestHttp(),
 			new TestHttp(),
 			#end
 			#end
 			#if !no_pattern_matching
 			#if !no_pattern_matching