Fix throttling integration test

[MAILPOET-2723]
This commit is contained in:
Ján Mikláš
2020-03-02 11:12:15 +01:00
committed by Jack Kitterhing
parent 7b2eef18ad
commit ac557d692e

View File

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