Add integration tests [MAILPOET-2015]
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user