mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 04:24:08 +00:00
Reject user bank slip with reason. Add migration for userbankslip.
This commit is contained in:
@@ -117,4 +117,14 @@ class BookingTest extends TestCase
|
||||
->json('POST','/api/booking/' . $this->booking->id . '/approve-bank-slip', [])
|
||||
->assertSuccessful();
|
||||
}
|
||||
|
||||
|
||||
public function testRejectBankSlip()
|
||||
{
|
||||
$this->actingAs($this->user)
|
||||
->json('POST','/api/booking/' . $this->booking->id . '/reject-bank-slip', [
|
||||
'reject_reason' => 'Amount no enough'
|
||||
])
|
||||
->assertSuccessful();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user