Problem/Motivation

See https://www.drupal.org/project/drupal/issues/3052142#comment-13136481

We need many cases of test the machine names suggestion in \Drupal\Tests\Core\Block\BlockBaseTest::testGetMachineNameSuggestion.

E.g. multiple spaces, underscores at the beginning and end, unknown character, etc.

Proposed resolution

Add dataProvider() for testGetMachineNameSuggestion().

Remaining tasks

None

CommentFileSizeAuthor
#2 3060070-2.patch2.1 KBkrzysztof domański

Comments

Krzysztof Domański created an issue. See original summary.

krzysztof domański’s picture

Status: Active » Needs review
Parent issue: » #3052142: Add hyphens to block template suggestions
StatusFileSize
new2.1 KB
Anonymous’s picture

Status: Needs review » Reviewed & tested by the community
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed 39ae47d and pushed to 8.8.x. Thanks!

  • catch committed 39ae47d on 8.8.x
    Issue #3060070 by Krzysztof Domański: Add dataProvider for \Drupal\Tests...
catch’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.