diff --git a/src/OpenWork/Application.php b/src/OpenWork/Application.php index fad6caba5..522e4c4d2 100644 --- a/src/OpenWork/Application.php +++ b/src/OpenWork/Application.php @@ -259,7 +259,7 @@ public function getAuthorizerAccessToken( public function createClient(): Client { - return new Client($this->getHttpClient(), '', $this->getProviderAccessToken()); + return new Client($this->getHttpClient(), $this->getProviderAccessToken()); } public function getOAuth(string $suiteId, ?AccessTokenInterface $suiteAccessToken = null): OpenWeWork diff --git a/tests/Pay/ApplicationTest.php b/tests/Pay/ApplicationTest.php index 493ddfb90..68f660756 100644 --- a/tests/Pay/ApplicationTest.php +++ b/tests/Pay/ApplicationTest.php @@ -6,7 +6,6 @@ use EasyWeChat\Pay\Application; use EasyWeChat\Pay\Contracts\Merchant; -use EasyWeChat\Pay\MerchantAwareHttpClient; use EasyWeChat\Tests\TestCase; use Symfony\Component\HttpClient\CurlHttpClient;