mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 09:51:40 +00:00
Fixed a lot of tests and associated code.
This commit is contained in:
@@ -86,9 +86,10 @@ class NewUserControllerTest extends TestCase
|
||||
$accountRepos->shouldReceive('store')->times(2);
|
||||
|
||||
$data = [
|
||||
'bank_name' => 'New bank',
|
||||
'savings_balance' => '1000',
|
||||
'bank_balance' => '100',
|
||||
'bank_name' => 'New bank',
|
||||
'savings_balance' => '1000',
|
||||
'bank_balance' => '100',
|
||||
'amount_currency_id_bank_balance' => 1,
|
||||
];
|
||||
$this->be($this->emptyUser());
|
||||
$response = $this->post(route('new-user.submit'), $data);
|
||||
@@ -108,8 +109,9 @@ class NewUserControllerTest extends TestCase
|
||||
$accountRepos->shouldReceive('store')->twice();
|
||||
|
||||
$data = [
|
||||
'bank_name' => 'New bank',
|
||||
'bank_balance' => '100',
|
||||
'bank_name' => 'New bank',
|
||||
'bank_balance' => '100',
|
||||
'amount_currency_id_bank_balance' => 1,
|
||||
];
|
||||
$this->be($this->emptyUser());
|
||||
$response = $this->post(route('new-user.submit'), $data);
|
||||
|
Reference in New Issue
Block a user