@@ -18,7 +18,7 @@ public function testModelCalculateYearlyExpiration()
18
18
{
19
19
Carbon::setTestNow (now ());
20
20
21
- $ years = $ this ->faker ->randomDigitNotZero ();
21
+ $ years = $ this ->faker ->randomDigitNotNull ();
22
22
$ feature = Feature::factory ()->create ([
23
23
'periodicity_type ' => PeriodicityType::Year,
24
24
'periodicity ' => $ years ,
@@ -31,7 +31,7 @@ public function testModelCalculateMonthlyExpiration()
31
31
{
32
32
Carbon::setTestNow (now ());
33
33
34
- $ months = $ this ->faker ->randomDigitNotZero ();
34
+ $ months = $ this ->faker ->randomDigitNotNull ();
35
35
$ feature = Feature::factory ()->create ([
36
36
'periodicity_type ' => PeriodicityType::Month,
37
37
'periodicity ' => $ months ,
@@ -44,7 +44,7 @@ public function testModelCalculateWeeklyExpiration()
44
44
{
45
45
Carbon::setTestNow (now ());
46
46
47
- $ weeks = $ this ->faker ->randomDigitNotZero ();
47
+ $ weeks = $ this ->faker ->randomDigitNotNull ();
48
48
$ feature = Feature::factory ()->create ([
49
49
'periodicity_type ' => PeriodicityType::Week,
50
50
'periodicity ' => $ weeks ,
@@ -57,7 +57,7 @@ public function testModelCalculateDailyExpiration()
57
57
{
58
58
Carbon::setTestNow (now ());
59
59
60
- $ days = $ this ->faker ->randomDigitNotZero ();
60
+ $ days = $ this ->faker ->randomDigitNotNull ();
61
61
$ feature = Feature::factory ()->create ([
62
62
'periodicity_type ' => PeriodicityType::Day,
63
63
'periodicity ' => $ days ,
0 commit comments