mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-19 08:00:19 +00:00
Improve test coverage and quality
This commit is contained in:
@@ -80,7 +80,7 @@ class RuleGroupControllerTest extends TestCase
|
||||
$ruleGroupRepos->shouldReceive('setUser')->once();
|
||||
$ruleGroup = $this->user()->ruleGroups()->first();
|
||||
$data = [
|
||||
'title' => 'Store new rule group ' . random_int(1, 100000),
|
||||
'title' => 'Store new rule group ' . $this->randomInt(),
|
||||
'active' => 1,
|
||||
'description' => 'Hello',
|
||||
];
|
||||
@@ -214,7 +214,7 @@ class RuleGroupControllerTest extends TestCase
|
||||
$ruleGroupRepos->shouldReceive('setUser')->once();
|
||||
$ruleGroup = $this->user()->ruleGroups()->first();
|
||||
$data = [
|
||||
'title' => 'Store new rule ' . random_int(1, 100000),
|
||||
'title' => 'Store new rule ' . $this->randomInt(),
|
||||
'active' => 1,
|
||||
'description' => 'Hello',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user