- Issue created by @quietone
- First commit to issue fork.
- Merge request !13072Issue #3344633: Remove duplicate tests from XssUnitTest → (Open) created by Unnamed author
- 🇺🇸United States smustgrave
So now we have a file that doesn't have any tests. Was testT() verified to be duplicate
- 🇮🇳India ajinkya45 Pune
testT() in XssUnitTest was testing basic t() passthrough, placeholder substitution (@value), and themed placeholder (%value) escaping.
These are fully covered in the dedicated translation kernel tests:
- core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php
- Other translation-related kernel tests in core.
No functional coverage is lost by removing testT() from XssUnitTest.So in that case, should the file be entirely deleted?