@@ -186,19 +186,19 @@ public function testShouldReturnCurlInfoStatusCode()
186186 */
187187 public function testShouldReturnCurlInfoStatusCodeAsInteger ()
188188 {
189- $ stringStatusCode = " 200 " ;
190- $ integerStatusCode = 200 ;
191- $ this ->curlHook ->enable ($ this ->getTestCallback ($ stringStatusCode ));
189+ $ stringStatusCode = ' 200 ' ;
190+ $ integerStatusCode = 200 ;
191+ $ this ->curlHook ->enable ($ this ->getTestCallback ($ stringStatusCode ));
192192
193- $ curlHandle = curl_init ('http://example.com ' );
194- curl_setopt ($ curlHandle , CURLOPT_RETURNTRANSFER , true );
195- curl_exec ($ curlHandle );
196- $ infoHttpCode = curl_getinfo ($ curlHandle , CURLINFO_HTTP_CODE );
197- curl_close ($ curlHandle );
193+ $ curlHandle = curl_init ('http://example.com ' );
194+ curl_setopt ($ curlHandle , CURLOPT_RETURNTRANSFER , true );
195+ curl_exec ($ curlHandle );
196+ $ infoHttpCode = curl_getinfo ($ curlHandle , CURLINFO_HTTP_CODE );
197+ curl_close ($ curlHandle );
198198
199- $ this ->assertSame ($ integerStatusCode , $ infoHttpCode , 'HTTP status not set. ' );
199+ $ this ->assertSame ($ integerStatusCode , $ infoHttpCode , 'HTTP status not set. ' );
200200
201- $ this ->curlHook ->disable ();
201+ $ this ->curlHook ->disable ();
202202 }
203203
204204 public function testShouldReturnCurlInfoAll ()
0 commit comments