getFrontendSettings(); $this->assertArrayNotHasKey( 'default_provider', $frontend['identity'] ?? [], '본인인증 provider 저장값이 공개 프론트엔드 설정에 노출되었습니다.' ); } /** * identity 카테고리의 나머지 필드도 그대로 미노출을 유지한다. (비회귀 pin) */ public function test_other_identity_fields_stay_hidden(): void { $identity = app(SettingsService::class)->getFrontendSettings()['identity'] ?? []; foreach (['purpose_providers', 'challenge_ttl_minutes', 'max_attempts'] as $field) { $this->assertArrayNotHasKey($field, $identity); } } }