['stale-only']]); $fresh = app(CoreUpdateService::class)->freshDiskUpdateConfig('restore_ownership_group_writable'); $this->assertNotSame(['stale-only'], $fresh); $this->assertContains('public/build/ext', $fresh, '디스크 config/app.php 의 목록을 읽어야 한다'); $this->assertContains('bootstrap/cache', $fresh); } /** * @effects execute_upgrade_steps_child_reads_update_config_from_disk_when_config_is_cached */ #[Test] public function 없는_키는_기본값을_돌려준다(): void { $this->assertSame(['x'], app(CoreUpdateService::class)->freshDiskUpdateConfig('no_such_key_'.uniqid(), ['x'])); } }