Clean settings cache when reinstalling the plugin

This commit is contained in:
Jan Jakes
2024-09-04 15:21:26 +02:00
committed by Jan Jakeš
parent a29233407f
commit f483d40c19
2 changed files with 9 additions and 2 deletions

View File

@ -34,7 +34,7 @@ class SetupTest extends \MailPoetTest {
$captchaRenderer = $this->diContainer->get(CaptchaRenderer::class);
$migrator = $this->diContainer->get(Migrator::class);
$cronActionScheduler = $this->diContainer->get(ActionScheduler::class);
$router = new Setup($wpStub, new Activator($this->connection, $settings, $populator, $wpStub, $migrator, $cronActionScheduler));
$router = new Setup($wpStub, new Activator($this->connection, $settings, $populator, $wpStub, $migrator, $cronActionScheduler), $settings);
$response = $router->reset();
verify($response->status)->equals(APIResponse::STATUS_OK);