Update tst/Persistence/TrafficLimiterTest.php

Co-authored-by: rugk <rugk+git@posteo.de>
pull/890/head
El RIDO 2022-02-26 06:58:54 +01:00 committed by GitHub
parent 77153a9b49
commit 247992fbca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class TrafficLimiterTest extends PHPUnit_Framework_TestCase
}
$_SERVER['REMOTE_ADDR'] = 'foobar';
$this->assertTrue(TrafficLimiter::canPass(), 'non-IP address');
$this->assertTrue(TrafficLimiter::canPass(), 'request is to fast, but non-IP address matches exempted range');
$this->assertTrue(TrafficLimiter::canPass(), 'request is too fast, but non-IP address matches exempted range');
}
public function testTrafficLimitCreators()