From ac557d692e619b65a0af458e341a080dcf0296c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ja=CC=81n=20Mikla=CC=81s=CC=8C?= Date: Mon, 2 Mar 2020 11:12:15 +0100 Subject: [PATCH] Fix throttling integration test [MAILPOET-2723] --- tests/integration/Subscription/ThrottlingTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/Subscription/ThrottlingTest.php b/tests/integration/Subscription/ThrottlingTest.php index 5ea12d02d0..af8ba40cca 100644 --- a/tests/integration/Subscription/ThrottlingTest.php +++ b/tests/integration/Subscription/ThrottlingTest.php @@ -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);