Skip to content

Firefly III: a personal finances manager

Fix iban in test data.

James Cole0d39161ec35e
diff --git a/app/Support/Migration/TestData.php b/app/Support/Migration/TestData.php
index ee367c81d5..2839a07636 100644
--- a/app/Support/Migration/TestData.php
+++ b/app/Support/Migration/TestData.php
@@ -73,7 +73,7 @@ class TestData
'active' => 1,
'encrypted' => 1,
'virtual_balance' => 0,
- 'iban' => $account['iban'] ?? null,
+ 'iban' => isset($account['iban']) ? Crypt::encrypt($account['iban']) : null,
];
}
DB::table('accounts')->insert($insert);