mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-18 07:03:12 -04:00
phpstan level 8 preparation
This commit is contained in:
@@ -62,7 +62,10 @@ class DownloadTest extends TestCase {
|
||||
// torrent snatch list is handled in another test
|
||||
|
||||
$ratelimit = new User\UserclassRateLimit($this->userList['down']);
|
||||
$this->assertFalse(is_nan($ratelimit->userclassFactor()), 'download-ratelimit-userclass-factor');
|
||||
$this->assertFalse(
|
||||
is_nan($ratelimit->userclassFactor()),
|
||||
'download-ratelimit-userclass-factor',
|
||||
);
|
||||
$this->assertTrue(is_nan($ratelimit->userFactor()), 'download-ratelimit-user-factor');
|
||||
$this->assertFalse($ratelimit->hasExceededFactor(), 'download-ratelimit-factor');
|
||||
$this->assertFalse($ratelimit->hasExceededTotal(), 'download-ratelimit-total');
|
||||
|
||||
Reference in New Issue
Block a user