From 77153a9b493102fc5edbc7875ea11a862ae3b1fd Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sat, 26 Feb 2022 06:58:41 +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 e5256c7..6fe7de0 100644 --- a/tst/Persistence/TrafficLimiterTest.php +++ b/tst/Persistence/TrafficLimiterTest.php @@ -76,7 +76,7 @@ class TrafficLimiterTest extends PHPUnit_Framework_TestCase try { $this->assertFalse(TrafficLimiter::canPass(), 'expected an exception'); } catch (Exception $e) { - $this->assertEquals($e->getMessage(), 'Please wait 4 seconds between each post.', 'request is to fast, invalid range'); + $this->assertEquals($e->getMessage(), 'Please wait 4 seconds between each post.', 'request is too fast, invalid range'); } $_SERVER['REMOTE_ADDR'] = 'foobar'; $this->assertTrue(TrafficLimiter::canPass(), 'non-IP address');