diff --git a/core/modules/views/lib/Drupal/views/Tests/Plugin/PagerTest.php b/core/modules/views/lib/Drupal/views/Tests/Plugin/PagerTest.php index b8d2e74..babf4d5 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Plugin/PagerTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/PagerTest.php @@ -103,7 +103,7 @@ public function testStorePagerSettings() { 'pager_options[items_per_page]' => 10, ); $this->drupalPost('admin/structure/views/nojs/display/test_store_pager_settings/default/pager_options', $edit, t('Apply')); - $this->assertText('20 items'); + $this->assertText('10 items'); } diff --git a/core/modules/views/lib/Drupal/views/Tests/UI/RowUITest.php b/core/modules/views/lib/Drupal/views/Tests/UI/RowUITest.php index 2b42157..2fee8ed 100644 --- a/core/modules/views/lib/Drupal/views/Tests/UI/RowUITest.php +++ b/core/modules/views/lib/Drupal/views/Tests/UI/RowUITest.php @@ -41,10 +41,10 @@ public function testRowUI() { $row_options_url = "admin/structure/views/nojs/display/$view_name/default/row_options"; $this->drupalGet($row_plugin_url); - $this->assertFieldByName('row', 'fields', 'The default row plugin selected in the UI should be fields.'); + $this->assertFieldByName('row[type]', 'fields', 'The default row plugin selected in the UI should be fields.'); $edit = array( - 'row' => 'test_row' + 'row[type]' => 'test_row' ); $this->drupalPost(NULL, $edit, t('Apply')); $this->assertFieldByName('row_options[test_option]', NULL, 'Make sure the custom settings form from the test plugin appears.'); diff --git a/core/modules/views/lib/Drupal/views/Tests/UI/StyleUITest.php b/core/modules/views/lib/Drupal/views/Tests/UI/StyleUITest.php index 034f463..02b5cab 100644 --- a/core/modules/views/lib/Drupal/views/Tests/UI/StyleUITest.php +++ b/core/modules/views/lib/Drupal/views/Tests/UI/StyleUITest.php @@ -41,10 +41,10 @@ public function testStyleUI() { $style_options_url = "admin/structure/views/nojs/display/$view_name/default/style_options"; $this->drupalGet($style_plugin_url); - $this->assertFieldByName('style', 'default', 'The default style plugin selected in the UI should be unformatted list.'); + $this->assertFieldByName('style[type]', 'default', 'The default style plugin selected in the UI should be unformatted list.'); $edit = array( - 'style' => 'test_style' + 'style[type]' => 'test_style' ); $this->drupalPost(NULL, $edit, t('Apply')); $this->assertFieldByName('style_options[test_option]', NULL, 'Make sure the custom settings form from the test plugin appears.');