New seeds plus the preparation for some extended testing.

This commit is contained in:
James Cole 2016-12-21 19:56:06 +01:00
parent 9e1a69217d
commit 3250c4830d
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 30 additions and 1 deletions

View File

@ -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": [

View File

@ -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);