core/modules/views/src/Tests/Wizard/BasicTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/views/src/Tests/Wizard/BasicTest.php b/core/modules/views/src/Tests/Wizard/BasicTest.php index 9b6e0f2..b404dd4 100644 --- a/core/modules/views/src/Tests/Wizard/BasicTest.php +++ b/core/modules/views/src/Tests/Wizard/BasicTest.php @@ -74,7 +74,8 @@ function testViewsWizardAndListing() { $this->assertText($node2->label()); // Check if we have the feed. - $this->assertLinkByHref(_url($view2['page[feed_properties][path]'])); + $elements = $this->cssSelect('link[href="' . _url($view2['page[feed_properties][path]'], ['absolute' => TRUE]) . '"]'); + $this->assertEqual(count($elements), 1, 'Feed found.'); $this->drupalGet($view2['page[feed_properties][path]']); $this->assertRaw('