diff --git a/core/modules/views_ui/src/Tests/DisplayTest.php b/core/modules/views_ui/src/Tests/DisplayTest.php index 2976120..7f5f125 100644 --- a/core/modules/views_ui/src/Tests/DisplayTest.php +++ b/core/modules/views_ui/src/Tests/DisplayTest.php @@ -163,9 +163,7 @@ public function testLinkDisplay() { $this->assertEqual($result[0], t('None'), 'Make sure that the link option summary shows "None" by default.'); $this->drupalGet($link_display_path); - // We are looking for the None option which has a '' key, that's why there - // is no key appended in the ID. - $this->assertFieldChecked('edit-link-display-'); + $this->assertFieldChecked('edit-link-display-0'); // Test the default radio option on the link display form. $this->drupalPostForm($link_display_path, array('link_display' => 'page_1'), t('Apply'));