trypost/tests/Unit/Ai/Agents
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
..
BrandAnalyzerTest.php Share a ContentLanguageOption type and close the review's test gaps 2026-07-03 19:28:28 -03:00
PostContentGeneratorTest.php refactor(ai): introduce GeneratorFormat enum and drop stringly-typed format 2026-06-18 11:11:23 -03:00
PostContentHumanizerTest.php Structure brand voice and make generated copy platform-aware 2026-06-12 17:09:39 -03:00
PostContentReviewerTest.php Structure brand voice and make generated copy platform-aware 2026-06-12 17:09:39 -03:00