Skip to content

Commit d025260

Browse files
713uk13m713uk13m
authored andcommitted
Update Tests
1 parent 45f0875 commit d025260

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

tests/tests_send_requests.php

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
'debugStatus' => TRUE,
1818
'debugLoggerPath' => testLogPath()
1919
];
20-
$url = 'http://vcms.gviet.vn/api/v1/shared-content/vietlott.html';
20+
$url = 'https://httpbin.org/';
2121
$data = [
2222
'date' => date('Y-m-d'),
2323
'service' => 'ME',
@@ -33,8 +33,14 @@
3333
$request->setHeader($headers);
3434
$request->setOptions($options);
3535

36-
//$pyRequest = $request->pyRequest($url, $data, $method);
37-
//var_dump($pyRequest);
36+
$pyRequest = $request->pyRequest($url, $data, $method);
37+
d($pyRequest);
38+
39+
$guzzlePhpRequest = $request->guzzlePhpRequest($url, $data, $method);
40+
d($guzzlePhpRequest);
3841

3942
$curlRequest = $request->curlRequest($url, $data, $method);
40-
d($curlRequest);
43+
d($curlRequest);
44+
45+
$sendRequest = $request->sendRequest($url, $data, $method);
46+
d($sendRequest);

0 commit comments

Comments
 (0)