Add integration tests [MAILPOET-2015]

This commit is contained in:
wxa
2019-07-04 20:20:06 +03:00
committed by M. Shull
parent b174a55d07
commit d36c9b44e4
6 changed files with 161 additions and 4 deletions

View File

@ -47,7 +47,7 @@ class ThrottlingTest extends \MailPoetTest {
$ip2 = SubscriberIP::create();
$ip2->ip = '127.0.0.1';
$ip2->created_at = Carbon::now()->subDays(1)->subSeconds(1);
$ip2->created_at = Carbon::now()->subMonths(1)->subSeconds(1);
$ip2->save();
expect(SubscriberIP::count())->equals(2);