From 6f5effa11713845b5be393856311545373412b36 Mon Sep 17 00:00:00 2001 From: Seven Du Date: Tue, 27 Nov 2018 11:58:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=A0=B8=E5=BF=83):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20TS+=20=E6=97=A0=E6=B3=95=E4=BD=BF=E7=94=A8=E6=96=B0=E9=92=B1?= =?UTF-8?q?=E5=8C=85=E5=85=85=E5=80=BC=E7=A7=AF=E5=88=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Requests/API2/StoreTransform.php | 1 + tests/Feature/API2/WalletTransformTest.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/API2/StoreTransform.php b/app/Http/Requests/API2/StoreTransform.php index 0e569ddf1..46d70f0ce 100644 --- a/app/Http/Requests/API2/StoreTransform.php +++ b/app/Http/Requests/API2/StoreTransform.php @@ -20,6 +20,7 @@ namespace Zhiyi\Plus\Http\Requests\API2; +use function Zhiyi\Plus\setting; use Illuminate\Foundation\Http\FormRequest; class StoreTransform extends FormRequest diff --git a/tests/Feature/API2/WalletTransformTest.php b/tests/Feature/API2/WalletTransformTest.php index 65eb95549..20bacde9d 100644 --- a/tests/Feature/API2/WalletTransformTest.php +++ b/tests/Feature/API2/WalletTransformTest.php @@ -47,7 +47,6 @@ protected function setUp() public function testTransfer() { $response = $this->actingAs($this->user, 'api')->json('POST', '/api/v2/plus-pay/transform', ['amount' => 2121]); - $response->dump(); $response->assertStatus(201); }