function ClientFactoryTest::providerTestCreateFromOptions
Data provider for testCreateFromOptions.
Return value
array An array of test data for testCreateFromOptions.
File
-
core/
tests/ Drupal/ Tests/ Core/ Http/ ClientFactoryTest.php, line 74
Class
Namespace
Drupal\Tests\Core\HttpCode
public static function providerTestCreateFromOptions() {
return [
[
[],
[],
[
'verify' => TRUE,
'timeout' => 30,
],
],
[
[
'timeout' => 40,
],
[],
[
'verify' => TRUE,
'timeout' => 40,
],
],
[
[],
[
'timeout' => 50,
],
[
'verify' => TRUE,
'timeout' => 50,
],
],
[
[
'timeout' => 40,
],
[
'timeout' => 50,
],
[
'verify' => TRUE,
'timeout' => 50,
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.