Problem/Motivation
In modules/node/src/Tests/NodeTitleTest.php, a title is created with a value of "0 | Drupal." However, the test only looks for "0." This test passes because a title is not found (false), 0 is falsey, and assertEqual considers those to be the same.
However, when the test is updated to account for "0 | Drupal" the test fails. The underlying issue appears to be that the title is not actually being created in the HTML.
Proposed resolution
Update test and determine why node title is not able to be found.
Remaining tasks
Task | Novice task? | Contributor instructions | Complete? |
---|---|---|---|
Create a patch | Instructions | ||
Manually test the patch | Novice | Instructions | |
Review patch to ensure that it fixes the issue, stays within scope, is properly documented, and follows coding standards | Instructions |
User interface changes
none
API changes
none
Data model changes
none