stanley-king 4 years ago
parent
commit
b377ce32e8
1 changed files with 4 additions and 0 deletions
  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()
     {