mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 04:24:08 +00:00
added booking seeder
updated booking controller added test for booking
This commit is contained in:
@@ -14,8 +14,8 @@ class BookTableSeeder extends Seeder
|
||||
{
|
||||
DB::table('bookings')->insert([
|
||||
// 'id' => '1',
|
||||
'account_name' => 'kazim',
|
||||
'account_num' => '1234',
|
||||
'account_name' => 'milah',
|
||||
'account_num' => '99898',
|
||||
'bank_name' => 'maybank',
|
||||
'bank_branch' => 'rembau',
|
||||
'company_name' => 'ICEF',
|
||||
@@ -26,7 +26,7 @@ class BookTableSeeder extends Seeder
|
||||
'term' => 'x1',
|
||||
'amount' => 1.2,
|
||||
'rate_id' => '1',
|
||||
'user_id' => '17',
|
||||
'user_id' => '3',
|
||||
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
|
||||
'updated_at' => Carbon::now()->format('Y-m-d H:i:s'),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user