You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->expectDeprecation('Since symfony/http-client 6.3: The "Symfony\Component\HttpClient\HttplugClient::sendRequest()" method is deprecated, use "Psr\Http\Client\ClientInterface::sendRequest()" instead.');
$this->assertFalse($failureCallableCalled, 'Failure callable should not be called when request is successful.');
104
112
}
105
113
114
+
/**
115
+
* @group legacy
116
+
*/
106
117
publicfunctiontestPostRequest()
107
118
{
119
+
$this->expectDeprecation('Since symfony/http-client 6.3: The "Symfony\Component\HttpClient\HttplugClient::sendRequest()" method is deprecated, use "Psr\Http\Client\ClientInterface::sendRequest()" instead.');
$this->expectDeprecation('Since symfony/http-client 6.3: The "Symfony\Component\HttpClient\HttplugClient::sendRequest()" method is deprecated, use "Psr\Http\Client\ClientInterface::sendRequest()" instead.');
@@ -150,8 +168,13 @@ public function testAsyncNetworkException()
150
168
$promise->wait(true);
151
169
}
152
170
171
+
/**
172
+
* @group legacy
173
+
*/
153
174
publicfunctiontestRequestException()
154
175
{
176
+
$this->expectDeprecation('Since symfony/http-client 6.3: The "Symfony\Component\HttpClient\HttplugClient::sendRequest()" method is deprecated, use "Psr\Http\Client\ClientInterface::sendRequest()" instead.');
0 commit comments