diff --git a/src/Tempest/Framework/Installers/FrameworkInstaller.php b/src/Tempest/Framework/Installers/FrameworkInstaller.php index 400529c42..639866859 100644 --- a/src/Tempest/Framework/Installers/FrameworkInstaller.php +++ b/src/Tempest/Framework/Installers/FrameworkInstaller.php @@ -45,5 +45,9 @@ public function install(): void ); $this->updateComposer(); + + $this->console->call('discovery:generate'); + + $this->console->call('key:generate'); } } diff --git a/tests/Integration/Core/FrameworkInstallerTest.php b/tests/Integration/Core/FrameworkInstallerTest.php index 1e0780e20..1ea18b813 100644 --- a/tests/Integration/Core/FrameworkInstallerTest.php +++ b/tests/Integration/Core/FrameworkInstallerTest.php @@ -35,7 +35,9 @@ public function test_it_can_force_install(): void { $this->console ->call('install framework --force') - ->assertDoesNotContain('Running the framework installer, continue?'); + ->assertDoesNotContain('Running the framework installer, continue?') + ->assertContains('Generating full discovery cache') + ->assertContains('Signing key generated successfully'); $this->installer ->assertFileExists(