mirror of
https://github.com/apache/superset.git
synced 2026-07-21 06:05:46 +00:00
Fixes the three real CI failures: - unit-tests: get_spa_template_context called common_bootstrap_payload() a second time just to derive the language pack context, which requires user/auth request state that tests mocking get_spa_payload don't set up. get_language_pack_template_context now takes the already-built common payload dict, so template context and payload can't diverge and the theme-helper tests pass unchanged. - test-sqlite/mysql/postgres: register the deliberately-unauthenticated language_pack_script route in test_views_are_secured's allowlist with its justification (static public catalog data, must load for anonymous principals). - lint-frontend: type the preamble test fixture as LanguagePack (plural_forms was missing) via a type-only import that the jest module mock doesn't affect. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
94 KiB
94 KiB