- Issue created by @berdir
- πΊπΈUnited States smustgrave
Seems like a good refactor without test loss
Automatically closed - issue fixed for 2 weeks with no activity.
TestXSSTitleBlock is used for old XSS tests. It only achieves the desired goal by not making the admin_label a translatable markup, something that is not possible with Attribute tests as that has a type and must be a TranslatableMarkup object.
There are also some related leftover category tests that test for a string that doens't exist anymore in core.
Changes the test to instead test with a user-provided label for a regular block and removes the category test coverage.
Active
11.0 π₯
block.module
Seems like a good refactor without test loss
Automatically closed - issue fixed for 2 weeks with no activity.