From 5be1b404b7cf21dfb01d91007c302d33b54a9740 Mon Sep 17 00:00:00 2001 From: harsh mahajan Date: Thu, 13 Aug 2026 11:27:29 +0530 Subject: [PATCH] test(sites): drop the frameworks config assertions The file asserted that frameworks.php holds the literals frameworks.php holds, so it restated the diff beside it rather than pinning anything the config could not state itself. Nothing in tests/unit asserts config literals: CollectionsTest is the one suite that loads a config file directly, and it checks a structural invariant instead. The rendering tests in DetectionTest already cover the behaviour that the output directory change turns on, over both build layouts. --- tests/unit/Deployment/FrameworksTest.php | 35 ------------------------ 1 file changed, 35 deletions(-) delete mode 100644 tests/unit/Deployment/FrameworksTest.php diff --git a/tests/unit/Deployment/FrameworksTest.php b/tests/unit/Deployment/FrameworksTest.php deleted file mode 100644 index ff5c872287..0000000000 --- a/tests/unit/Deployment/FrameworksTest.php +++ /dev/null @@ -1,35 +0,0 @@ -frameworks = require __DIR__ . '/../../../app/config/frameworks.php'; - } - - public function testTanStackStartAdaptersUseViteOutput(): void - { - $adapters = $this->frameworks['tanstack-start']['adapters']; - - $this->assertSame('./dist', $adapters['ssr']['outputDirectory']); - $this->assertSame('./dist/client', $adapters['static']['outputDirectory']); - } - - public function testNuxtStaticOutputIsInsideDotOutput(): void - { - $adapters = $this->frameworks['nuxt']['adapters']; - - $this->assertSame('./.output/public', $adapters['static']['outputDirectory']); - } -}