diff --git a/tests/Feature/Member/PreventionTest.php b/tests/Feature/Member/PreventionTest.php index 006b0b52..3e74b3d5 100644 --- a/tests/Feature/Member/PreventionTest.php +++ b/tests/Feature/Member/PreventionTest.php @@ -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' => []