-
Notifications
You must be signed in to change notification settings - Fork 9
Add test for async client #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
$headers['Content-Length'] = (string)strlen($body); | ||
} | ||
|
||
if (!($this->httpAdapter instanceof HttpAsyncClient)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be the first thing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hum yes :)
Shouldn't we create two separate tests instead? Also, shouldn't we refactor tests to reflect the change from adapter to client? |
Hum yes may be better, i just go for the fastest right now to validate guzzle implementation, but will do this tests in a separate class |
This should be good. This need the merge of php-http/discovery#15 |
Updated with new repository for async, should be good to merge. |
Can you please squash commits? I think it makes sense in this case. |
done |
Thanks |
Add test for async client
In relation to php-http/httplug#77