Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#2843687: Block configuration forms are not submitted was created and resolved while I was working on fixing the same issue. However, I took a tests first approach and now have working test coverage for the issue. Would be a waste to throw away, so attached you'll find a patch containing said test.
Comment | File | Size | Author |
---|---|---|---|
block-form-submission-test-coverage.diff | 12.01 KB | legolasbo | |
|
Comments
Comment #2
kristiaanvandeneyndeOnly nitpick I could find regarding
createAdminUser()
:I think you can flag a role as admin, making it have all permissions all the time. Your version is shorter, though.
Looks great otherwise. If you'd like to keep the method as is, it's RTBC for me.
Comment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedThanks for the patch.