mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 04:24:08 +00:00
Fix conflit
This commit is contained in:
@@ -71,7 +71,7 @@ class BookingTest extends TestCase
|
||||
|
||||
public function testuploadbankslip()
|
||||
{
|
||||
Storage::fake('bankslip_url');
|
||||
Storage::fake('file');
|
||||
$bankslip_url = UploadedFile::fake()->image('comp.jpg');
|
||||
|
||||
if(!file_exists($bankslip_url)){
|
||||
@@ -80,12 +80,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