Fix tests
This commit is contained in:
parent
6f1ab73bae
commit
ac45e0c8fa
|
@ -136,10 +136,15 @@ class PreventionTest extends TestCase
|
|||
];
|
||||
|
||||
yield [
|
||||
'attrs' => ['has_vk' => true, 'efz' => now(), 'ps_at' => now()->subYears(5)->subDay()],
|
||||
'attrs' => ['has_vk' => true, 'efz' => now(), 'ps_at' => null],
|
||||
'preventions' => [Prevention::PS]
|
||||
];
|
||||
|
||||
yield [
|
||||
'attrs' => ['has_vk' => true, 'efz' => now(), 'ps_at' => now()->subYears(5)->subDay()],
|
||||
'preventions' => [Prevention::MOREPS]
|
||||
];
|
||||
|
||||
yield [
|
||||
'attrs' => ['has_vk' => true, 'efz' => now(), 'ps_at' => now()->subYears(5)->subDay(), 'more_ps_at' => now()],
|
||||
'preventions' => []
|
||||
|
|
Loading…
Reference in New Issue