mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
added updatebankslip test
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user