We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e67236 commit 3c0c9c1Copy full SHA for 3c0c9c1
tests/system/HTTP/CURLRequestTest.php
@@ -1236,11 +1236,21 @@ public static function provideDNSCacheTimeout(): iterable
1236
'expectedHasKey' => true,
1237
'expectedValue' => 0,
1238
],
1239
+ 'valid timeout (zero / disabled using string)' => [
1240
+ 'input' => '0',
1241
+ 'expectedHasKey' => true,
1242
+ 'expectedValue' => 0,
1243
+ ],
1244
'valid timeout (forever)' => [
1245
'input' => -1,
1246
1247
'expectedValue' => -1,
1248
1249
+ 'valid timeout (forever using string)' => [
1250
+ 'input' => '-1',
1251
1252
+ 'expectedValue' => -1,
1253
1254
'invalid timeout (null)' => [
1255
'input' => null,
1256
'expectedHasKey' => false,
0 commit comments