Disable update account on nordigen to preserve requests
This commit is contained in:
parent
cecb7c07a2
commit
0377bb602a
|
|
@ -60,6 +60,7 @@ class CreateAccountRequest extends Request
|
|||
|
||||
public function prepareForValidation()
|
||||
{
|
||||
|
||||
$input = $this->all();
|
||||
|
||||
$input['user_agent'] = request()->server('HTTP_USER_AGENT');
|
||||
|
|
|
|||
|
|
@ -73,7 +73,8 @@ class ProcessBankTransactionsNordigen implements ShouldQueue
|
|||
|
||||
// UPDATE ACCOUNT
|
||||
try {
|
||||
$this->updateAccount();
|
||||
// $this->updateAccount();
|
||||
$this->nordigen_account = true;
|
||||
} catch (\Exception $e) {
|
||||
nlog("Nordigen: {$this->bank_integration->nordigen_account_id} - exited abnormally => " . $e->getMessage());
|
||||
|
||||
|
|
|
|||
|
|
@ -163,7 +163,6 @@ class SubscriptionApiTest extends TestCase
|
|||
$this->travelTo($timezone_now->copy()->startOfDay()->subHour());
|
||||
|
||||
$i = false;
|
||||
|
||||
//Capture companies within the window of 00:00 and 00:30
|
||||
if($timezone_now->gte($timezone_now->copy()->startOfDay()) && $timezone_now->lt($timezone_now->copy()->startOfDay()->addMinutes(30))) {
|
||||
|
||||
|
|
@ -178,6 +177,8 @@ class SubscriptionApiTest extends TestCase
|
|||
->whereDate('due_date', '<=', now()->setTimezone($company->timezone()->name)->addDay()->startOfDay())
|
||||
->get();
|
||||
|
||||
// nlog($i->count());
|
||||
// nlog($i->toArray());
|
||||
}
|
||||
|
||||
$this->assertFalse($i);
|
||||
|
|
|
|||
Loading…
Reference in New Issue