From f6a768f94525e0ff717f8ff99e173ea3014c2b34 Mon Sep 17 00:00:00 2001 From: brendt Date: Thu, 28 May 2026 13:35:34 +0200 Subject: [PATCH] wip --- src/Tempest/Framework/Installers/FrameworkInstaller.php | 4 ++++ tests/Integration/Core/FrameworkInstallerTest.php | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) 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(