stanley-king hace 4 años
padre
commit
b377ce32e8
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      tests/TestIndex.php

+ 4 - 0
tests/TestIndex.php

@@ -29,6 +29,10 @@ class TestIndex extends TestCase
     {
         $resp = http_request('http://host.docker.internal:8080/CheckOrder',['order_sn' => '123456'],'GET');
     }
+    public function testHttps()
+    {
+        $resp = http_request('https://www.baidu.com',['order_sn' => '123456'],'GET');
+    }
 
     public function testOpenBox()
     {