Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293248

NodeTitleTest passes when it should currently fail

$
0
0

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

 

Contributor tasks needed
TaskNovice task?Contributor instructionsComplete?
Create a patchInstructions
Manually test the patch NoviceInstructions
Review patch to ensure that it fixes the issue, stays within scope, is properly documented, and follows coding standardsInstructions

User interface changes

none

API changes

none

Data model changes

none


Viewing all articles
Browse latest Browse all 293248

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>