| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function setUp(): void |
||
| 20 | { |
||
| 21 | parent::setUp(); |
||
| 22 | $config = new Config(__DIR__.'/../../config/config.yml'); |
||
| 23 | Cache::setConfig($config); |
||
| 24 | $this->service = new ThrottlingService(); |
||
| 25 | $this->service->setAllowedRequestsPerSecond(1); |
||
| 26 | $this->service->setIp($this->ip); |
||
| 27 | } |
||
| 28 | |||
| 65 | } |