Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit db24fc2

Browse files
committed
Updating FacebookCurkHttpClientTest for cURL location following
1 parent e1f1eba commit db24fc2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/HttpClients/FacebookCurlHttpClientTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public function testCanOpenGetCurlConnection()
7272
CURLOPT_CONNECTTIMEOUT => 10,
7373
CURLOPT_TIMEOUT => 123,
7474
CURLOPT_RETURNTRANSFER => true,
75+
CURLOPT_FOLLOWLOCATION => true,
7576
CURLOPT_HEADER => true,
7677
CURLOPT_SSL_VERIFYHOST => 2,
7778
CURLOPT_SSL_VERIFYPEER => true,
@@ -115,6 +116,7 @@ public function testCanOpenCurlConnectionWithPostBody()
115116
CURLOPT_CONNECTTIMEOUT => 10,
116117
CURLOPT_TIMEOUT => 60,
117118
CURLOPT_RETURNTRANSFER => true,
119+
CURLOPT_FOLLOWLOCATION => true,
118120
CURLOPT_HEADER => true,
119121
CURLOPT_SSL_VERIFYHOST => 2,
120122
CURLOPT_SSL_VERIFYPEER => true,

0 commit comments

Comments
 (0)