From 0d39161ec35edd012c5d5e101daa189beb874dda Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 14 May 2016 22:23:55 +0200 Subject: [PATCH] Fix iban in test data. --- app/Support/Migration/TestData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);