In tests/ds.entities.test, under testDSNodeEntity():

$this->assertPattern('/<div[^>]*>Submitted[^<]*<a[^>]+href="\/user\/' . $node_author->uid . '"[^>]*>' . check_plain($node_author->name) . '<\/a>.<\/div>/', t('Submitted by line found'));

Asssumes the author link starts with /user/x (while it could be /drupal/user/x)

CommentFileSizeAuthor
#1 ds-nodedisplaytest-2284575-1.patch896 bytesstefan.r

Comments

stefan.r’s picture

Title: Test fails if site is installed in a subdirectory » Node display test fails if site is installed in a subdirectory
Status: Active » Needs review
StatusFileSize
new896 bytes

  • aspilicious committed 0739277 on 8.x-2.x authored by stefan.r
    Issue #2284575 by stefan.r: Fixed Node display test fails if site is...
aspilicious’s picture

Status: Needs review » Fixed

Thnx!

  • aspilicious committed 1640acd on 7.x-2.x authored by stefan.r
    Issue #2284575 by stefan.r: Fixed Node display test fails if site is...

Status: Fixed » Closed (fixed)

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