Part of #1811016: [meta] Decouple tests from Node module. From the VDC sandbox.

To test that assertTitle() and assertNoTitle() work as expected, SimpleTestTest visits node and checks the title pattern. Remove this dependency by checking user instead. (We still specify the path explicitly since we are looking for a specific title pattern.)

Bonus: Remove a couple of vague assertion messages in the process.

CommentFileSizeAuthor
simpletest-test.patch2.12 KBxjm
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tim.plunkett’s picture

Status: Needs review » Reviewed & tested by the community

Looks good!

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

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

Anonymous’s picture

Issue summary: View changes

Updated issue summary.