diff --git a/tests/Feature/BookingTest.php b/tests/Feature/BookingTest.php index ea54b309..332df182 100644 --- a/tests/Feature/BookingTest.php +++ b/tests/Feature/BookingTest.php @@ -74,12 +74,21 @@ class BookingTest extends TestCase $this->actingAs($this->user) ->json('POST', '/api/booking/' . $this->booking->id . '/upload-user-bankslip', [ - 'bankslip_url' => $bankslip_url, + 'bankslip_url' => $bankslip_url + ]) + ->assertSuccessful(); + } + + public function testUpdateBankslipAmount() + { + $this->actingAs($this->user) + ->json('PUT', '/api/booking/' . $this->booking->id . '/bankslip-amount', [ 'transfer_amount' => '9000' ]) ->assertSuccessful(); } + public function testuploadPO() { Storage::fake('image_url');