orderBy('id', 'desc') ->select('id') ->first(); $customer = Customer::factory() ->create(); return [ 'is_guest' => 0, 'is_active' => 1, 'customer_id' => $customer->id, 'customer_email' => $customer->email, 'customer_first_name' => $customer->first_name, 'customer_last_name' => $customer->last_name, 'is_gift' => 0, 'base_currency_code' => 'EUR', 'channel_currency_code' => 'EUR', 'grand_total' => 0.0000, 'base_grand_total' => 0.0000, 'sub_total' => 0.0000, 'base_sub_total' => 0.0000, 'channel_id' => 1, 'created_at' => $now, 'updated_at' => $now, ]; } }