Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix test data.
James Cole4feff18af5c8
diff --git a/database/seeds/TestDataSeeder.php b/database/seeds/TestDataSeeder.phpindex 40da06ec84..217b774367 100644--- a/database/seeds/TestDataSeeder.php+++ b/database/seeds/TestDataSeeder.php@@ -363,7 +363,11 @@ class TestDataSeeder extends Seeder*/protected function createIncome($description, Carbon $date, $amount){- $date = new Carbon($date->format('Y-m') . '-23'); // paid on 23rd.+ $date = new Carbon($date->format('Y-m') . '-23'); // paid on 23rd.+ $today = new Carbon;+ if ($date >= $today) {+ return null;+ }$toAccount = $this->findAccount('MyBank Checking Account');$fromAccount = $this->findAccount('Job');$category = Category::firstOrCreateEncrypted(['name' => 'Salary', 'user_id' => $this->user->id]);