Skip to content

Firefly III: a personal finances manager

New seeds plus the preparation for some extended testing.

James Cole3250c4830df3
diff --git a/resources/seeds/seed.testing.json b/resources/seeds/seed.testing.json
index 5ec4e900f2..acc64281f4 100644
--- a/resources/seeds/seed.testing.json
+++ b/resources/seeds/seed.testing.json
@@ -636,6 +636,15 @@
"destination_id": 3,
"min_amount": 150,
"max_amount": 150
+ },
+ {
+ "user_id": 1,
+ "day-of-month": 28,
+ "description": "Make up for test 1",
+ "source_id": 4,
+ "destination_id": 3,
+ "min_amount": 20,
+ "max_amount": 20
}
],
"monthly-withdrawals": [
@@ -825,6 +834,26 @@
"max_amount": 36,
"category_id": 6,
"budget_id": 6
+ },
+ {
+ "user_id": 1,
+ "day-of-month": "02",
+ "description": "Test 1 without budget but balancing act.",
+ "source_id": 3,
+ "destination_id": 29,
+ "min_amount": 20,
+ "max_amount": 20,
+ "category_id": 5
+ },
+ {
+ "user_id": 1,
+ "day-of-month": "02",
+ "description": "Test 2 without budget but balancing act.",
+ "source_id": 3,
+ "destination_id": 29,
+ "min_amount": 30,
+ "max_amount": 30,
+ "category_id": 5
}
],
"attachments": [
diff --git a/tests/acceptance/Controllers/Popup/ReportControllerTest.php b/tests/acceptance/Controllers/Popup/ReportControllerTest.php
index e4efaa3933..e601cc167e 100644
--- a/tests/acceptance/Controllers/Popup/ReportControllerTest.php
+++ b/tests/acceptance/Controllers/Popup/ReportControllerTest.php
@@ -46,7 +46,7 @@ class ReportControllerTest extends TestCase
'accountId' => 1,
'categoryId' => 1,
'budgetId' => 1,
- 'role' => 1,
+ 'role' => 3, // diff role, is complicated.
],
];
$uri = route('popup.general') . '?' . http_build_query($arguments);