Expand test cases.

This commit is contained in:
James Cole
2021-03-13 19:47:19 +01:00
parent 1f50f65bb7
commit 25bc0b0b78
10 changed files with 315 additions and 96 deletions

View File

@@ -98,11 +98,8 @@ class StoreControllerTest extends TestCase
private function minimalSets(): array
{
$faker = Factory::create();
$repeatFreqs = ['yearly', 'weekly', 'monthly'];
$repeatFreq = $repeatFreqs[rand(0, count($repeatFreqs) - 1)];
return [
'default_bill' => [
'default_budget' => [
'fields' => [
'name' => join(',', $faker->words(5)),
],