mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Improve test coverage and quality
This commit is contained in:
@@ -91,7 +91,7 @@ class CreateControllerTest extends TestCase
|
||||
$this->session(['budgets.create.uri' => 'http://localhost']);
|
||||
|
||||
$data = [
|
||||
'name' => 'New Budget ' . random_int(1000, 9999),
|
||||
'name' => 'New Budget ' . $this->randomInt(),
|
||||
];
|
||||
$this->be($this->user());
|
||||
$response = $this->post(route('budgets.store'), $data);
|
||||
|
@@ -90,7 +90,7 @@ class EditControllerTest extends TestCase
|
||||
$this->session(['budgets.edit.uri' => 'http://localhost']);
|
||||
|
||||
$data = [
|
||||
'name' => 'Updated Budget ' . random_int(1000, 9999),
|
||||
'name' => 'Updated Budget ' . $this->randomInt(),
|
||||
'active' => 1,
|
||||
];
|
||||
$this->be($this->user());
|
||||
|
Reference in New Issue
Block a user