runOcc(['config:system:set', 'ratelimit.protection.enabled', '--value', 'true', '--type', 'bool']); } /** * @AfterScenario @RateLimiting */ public function disableRateLimiting() { // Restore the default rate limiting configuration. // Ratelimiting is disabled by default, so we need to disable it $this->runOcc(['config:system:set', 'ratelimit.protection.enabled', '--value', 'false', '--type', 'bool']); } }