trypost/tests/Feature/Middleware
Paulo Castellano de4d5f3c68 Share a ContentLanguageOption type and close the review's test gaps
- Extract ContentLanguageOption into @/types and use it for availableContentLanguages
  across BrandForm, BrandTab, Brand, Create, and the LanguagePicker options, so the
  englishName field that drives search is visible to TypeScript instead of being
  dropped silently by the pass-through prop types.
- Add BrandAnalyzerTest: assert the language schema enum equals the full 15-language
  set (guards against it shrinking back to a hardcoded subset behind ::fake()) and
  that instructions() lists every code.
- Isolate the "LLM language wins" autofill test by declaring the page as `en` while
  the LLM returns `de`, so it actually proves mergeLlm precedence instead of both
  paths agreeing.
- Cover SetLocale's cookie side effect: the default locale cookie is set on an
  invalid/absent cookie and left untouched for a valid locale.
2026-07-03 19:28:28 -03:00
..
EnsureAccountReadyTest.php feat: per-workspace pricing, onboarding, and billing overhaul 2026-06-21 20:40:03 -03:00
EnsureHasWorkspaceTest.php fix(linkedin): enforce carousel cap and fail loudly on processing timeout 2026-06-25 15:34:03 -03:00
SetLocaleTest.php Share a ContentLanguageOption type and close the review's test gaps 2026-07-03 19:28:28 -03:00
TrialMiddlewareAccessTest.php chore: remove unused Pennant package and dead user-timezone handling 2026-06-22 13:37:38 -03:00