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); }