From 094c96afc60a41c06aa6ddd00c542950caba45e8 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sat, 26 Feb 2022 06:59:02 +0100 Subject: [PATCH] Update tst/Persistence/TrafficLimiterTest.php Co-authored-by: rugk --- tst/Persistence/TrafficLimiterTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tst/Persistence/TrafficLimiterTest.php b/tst/Persistence/TrafficLimiterTest.php index efa5746f..22463568 100644 --- a/tst/Persistence/TrafficLimiterTest.php +++ b/tst/Persistence/TrafficLimiterTest.php @@ -94,7 +94,7 @@ class TrafficLimiterTest extends PHPUnit_Framework_TestCase } $_SERVER['REMOTE_ADDR'] = '10.10.10.10'; $this->assertTrue(TrafficLimiter::canPass(), 'IPv4 in creator range'); - $this->assertTrue(TrafficLimiter::canPass(), 'request is to fast, but IPv4 in creator range'); + $this->assertTrue(TrafficLimiter::canPass(), 'request is too fast, but IPv4 in creator range'); $_SERVER['REMOTE_ADDR'] = '2001:1620:2057:dead:beef::cafe:babe'; $this->assertTrue(TrafficLimiter::canPass(), 'IPv6 in creator range'); $this->assertTrue(TrafficLimiter::canPass(), 'request is to fast, but IPv6 in creator range');