Skip to content

Commit

Permalink
修正小问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Aug 3, 2019
1 parent 31a1c84 commit e9746d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function checkWebSocketServerStatus()
{
sleep(1);
@file_get_contents('http://127.0.0.1:13002/');
if(isset($http_response_header) && 'HTTP/1.1 400 Bad Request' === $http_response_header[0])
if(isset($http_response_header[0]) && 'HTTP/1.1 400 Bad Request' === $http_response_header[0])
{
$serverStarted = true;
break;
Expand Down

0 comments on commit e9746d2

Please sign in to comment.