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 6be2dc8..f6c0e31 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,9 @@ 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', 'The default value has been changed.'); + $this->drupalGet('admin/structure/views/view/test_store_pager_settings/edit/page_1'); + $this->assertText('20 items', 'The original value remains unchanged.'); } diff --git a/core/modules/views/lib/Drupal/views/Tests/UI/HandlerTest.php b/core/modules/views/lib/Drupal/views/Tests/UI/HandlerTest.php index 19fa21c..e795248 100644 --- a/core/modules/views/lib/Drupal/views/Tests/UI/HandlerTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/UI/HandlerTest.php @@ -99,7 +99,7 @@ public function testUICRUD() { $this->assertUrl($edit_handler_url, array(), 'The user got redirected to the handler edit form.'); $this->drupalPost(NULL, array(), t('Apply')); - $this->assertUrl('admin/structure/views/view/test_view_empty/edit', array(), 'The user got redirected to the views edit form.'); + $this->assertUrl('admin/structure/views/view/test_view_empty/edit/default', array(), 'The user got redirected to the views edit form.'); $this->assertLinkByHref($edit_handler_url, 0, 'The handler edit link appears in the UI.');