mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 04:24:08 +00:00
fix unknow column when testing
This commit is contained in:
@@ -11,6 +11,5 @@ $factory->define(App\UserBankSlip::class, function (Faker $faker) {
|
||||
'transfer_amount' => $faker->randomDigit,
|
||||
'cust_marking' => str_random(10),
|
||||
'booking_id' => $faker->randomElement($book_id),
|
||||
'estimated_arrival_time' => $faker->randomDigit
|
||||
];
|
||||
});
|
||||
|
||||
@@ -309,6 +309,7 @@
|
||||
approveUserSlip() {
|
||||
this.loading_btn = true
|
||||
|
||||
// TODO : this no longer used
|
||||
let newApprove = {
|
||||
estimated_arrival_time: this.estimated_arrival_time
|
||||
}
|
||||
@@ -340,6 +341,7 @@
|
||||
this.centerDialogVisible = false
|
||||
|
||||
let newApprove = {
|
||||
// TODO : this no longer used
|
||||
estimated_arrival_time: this.estimated_arrival_time,
|
||||
reject_reason: this.reject_reason
|
||||
}
|
||||
|
||||
@@ -134,7 +134,6 @@ class BookingTest extends TestCase
|
||||
{
|
||||
$this->actingAs($this->user)
|
||||
->json('POST','/api/booking/' . $this->booking->id . '/approve-bank-slip', [
|
||||
'estimated_arrival_time' => '6000'
|
||||
])
|
||||
->assertSuccessful();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user