Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
53 | public function testValidWithFilesCache() |
||
54 | { |
||
55 | $config = new Config(__DIR__.'/../../config/config.yml'); |
||
56 | $config->overrideKey('cache_type', 'files'); |
||
57 | Cache::setConfig($config); |
||
58 | $this->service->setAllowedRequestsPerSecond(1); |
||
59 | $this->service->setIp($this->ip); |
||
60 | |||
61 | $this->service->validateRate(); |
||
62 | $this->service->validateRate(); |
||
63 | } |
||
65 | } |