- Issue created by @quietone
While working on π Fix class comment doc blocks in tests for 'Drupal.Commenting.DocComment.ShortSingleLine' Fixed I noticed that \Drupal\KernelTests\Core\Common\XssUnitTest appears to be duplicating tests that are elsewhere.
testBadProtocolStripping(). This is testing URL helper methods which are tested in \Drupal\Tests\Component\Utility\UrlHelperTest and with what appears to be more robust test data.
testT() - Surely t() has better testing elsewhere?
\Drupal\KernelTests\Core\Common\XssUnitTest was added in #1598564: Convert common.test to PSR-0 β
Remove testBadProtocolStripping and possibly testT()
Active
10.1 β¨
Last updated