From 53f1c0d0ef5819f51353520f2968415bb14adb45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=93=AD=E6=98=95?= <715557344@qq.com> Date: Wed, 10 Jan 2024 11:55:54 +0800 Subject: [PATCH] Removed useless code --- test/HttpTestCase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/HttpTestCase.php b/test/HttpTestCase.php index 1d36153..7b411f2 100644 --- a/test/HttpTestCase.php +++ b/test/HttpTestCase.php @@ -32,9 +32,9 @@ abstract class HttpTestCase extends TestCase */ protected $client; - public function __construct($name = null, array $data = [], $dataName = '') + public function __construct(string $name) { - parent::__construct($name, $data, $dataName); + parent::__construct($name); $this->client = make(Testing\Client::class); // $this->client = make(Testing\HttpClient::class, ['baseUri' => 'http://127.0.0.1:9501']); }