Skip to content

Firefly III: a personal finances manager

Remove recurring transactions [skip ci]

James Cole0ef52bf90960
diff --git a/database/seeds/TestDataSeeder.php b/database/seeds/TestDataSeeder.php
index a9a81bd023..6ab7fad298 100644
--- a/database/seeds/TestDataSeeder.php
+++ b/database/seeds/TestDataSeeder.php
@@ -90,7 +90,6 @@ class TestDataSeeder extends Seeder
$this->createCategories();
$this->createPiggyBanks();
$this->createReminders();
- $this->createRecurringTransactions();
$this->createBills();
$this->createExpenseAccounts();
$this->createRevenueAccounts();
@@ -357,34 +356,6 @@ class TestDataSeeder extends Seeder
}
- /**
- *
- */
- public function createRecurringTransactions()
- {
- // account
- $savings = Account::whereName('Savings account')->orderBy('id', 'DESC')->first();
- $user = User::whereEmail('[email protected]')->first();
-
- $recurring = PiggyBank::create(
- [
- 'account_id' => $savings->id,
- 'name' => 'Nieuwe spullen',
- 'targetamount' => 1000,
- 'startdate' => $this->som,
- 'targetdate' => $this->eom,
- 'repeats' => 1,
- 'rep_length' => 'month',
- 'rep_every' => 0,
- 'rep_times' => 0,
- 'reminder' => 'month',
- 'reminder_skip' => 0,
- 'remind_me' => 1,
- 'order' => 0,
- ]
- );
- }
-
/**
*
*/
diff --git a/pu.sh b/pu.sh
index aadd2e151f..ad08d5c969 100755
--- a/pu.sh
+++ b/pu.sh
@@ -7,4 +7,4 @@ if [ ! -f tests/database/db.sqlite ]; then
php artisan migrate --seed
fi
-phpunit
\ No newline at end of file
+phpunit --verbose