diff --git a/src/Adapter/CoroutineAdapter.php b/src/Adapter/CoroutineAdapter.php index 632200e2d..ed99dd860 100644 --- a/src/Adapter/CoroutineAdapter.php +++ b/src/Adapter/CoroutineAdapter.php @@ -140,7 +140,7 @@ private function handleOptions(array $options): array // Timeout if (isset($options['timeout']) && is_numeric($options['timeout'])) { - $options['_options']['timeout'] = $options['timeout'] * 1000; + $options['_options']['timeout'] = $options['timeout']; } return $options; diff --git a/test/README.md b/test/README.md index 915e7469c..de521c01f 100644 --- a/test/README.md +++ b/test/README.md @@ -6,4 +6,4 @@ Docker Compose: `docker-compose up` ## Standard of Script -1. All `TestCase` should be extends `\SwoftTest\HttpClient\AbstractTestCase` class +1. All `TestCase` should be extends `\SwoftTest\HttpClient\AbstractTestCase` abstract class