Changes for core/modules/forum/src/Tests/ForumTest.php: 1 added line, 1 removed line.
Original line number
Diff line number
Diff line
@@ -117,7 +117,7 @@ function testForum() {
//Check that the basic forum install creates a default forum topic
$this->drupalGet('/forum');
// Look for the "General discussion" default forum
$this->assertRaw(t('<a href="'.Url::fromRoute('forum.page',['taxonomy_term'=>1]).'">General discussion</a>'),"Found the default forum at the /forum listing");
$this->assertRaw(t('<a href="'.Url::fromRoute('forum.page',['taxonomy_term'=>1])->toString().'">General discussion</a>'),"Found the default forum at the /forum listing");
$this->assert(isset($links[0]),format_string('The %langcode node translation has the correct alternate hreflang link for %alternate_langcode: %link.',array('%langcode'=>$langcode,'%alternate_langcode'=>$alternate_langcode,'%link'=>$url)));
$this->assert(isset($links[0]),format_string('The %langcode node translation has the correct alternate hreflang link for %alternate_langcode: %link.',array('%langcode'=>$langcode,'%alternate_langcode'=>$alternate_langcode,'%link'=>$url->toString())));