File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -155,12 +155,11 @@ public function testNormalizeBodyMultipartForwardStream($stream)
155
155
156
156
public static function provideNormalizeBodyMultipartForwardStream ()
157
157
{
158
- yield 'native ' => [fopen ('https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png ' , 'r ' )];
159
-
160
- if (!\defined ('OPENSSL_DEFAULT_STREAM_CIPHERS ' )) {
161
- return ;
158
+ if (!\extension_loaded ('openssl ' )) {
159
+ throw self ::markTestSkipped ('Extension openssl required. ' );
162
160
}
163
161
162
+ yield 'native ' => [fopen ('https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png ' , 'r ' )];
164
163
yield 'symfony ' => [HttpClient::create ()->request ('GET ' , 'https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png ' )->toStream ()];
165
164
}
166
165
You can’t perform that action at this time.
0 commit comments