diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php index bec98d8..b6759e2 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php @@ -93,7 +93,7 @@ * @see StylePluginBase::renderGroupingSets() */ protected $groupingTheme = 'views_view_grouping'; - + /** * Should field labels be enabled by default. * diff --git a/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTest.php b/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTest.php index 7ddf37c..707272d 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTest.php @@ -200,8 +200,6 @@ function _testGrouping($stripped = FALSE) { // The newer api passes the value of the grouping as well. $sets_new_rendered = $view->style_plugin->renderGrouping($view->result, $view->style_plugin->options['grouping'], TRUE); - debug($sets_new_rendered); - debug($expected); $this->assertEqual($sets_new_rendered, $expected, 'The style plugins should properly group the results with grouping by the rendered output.'); // Don't test stripped case, because the actual value is not stripped. diff --git a/core/modules/views_ui/lib/Drupal/views_ui/Tests/FieldUITest.php b/core/modules/views_ui/lib/Drupal/views_ui/Tests/FieldUITest.php index 04bbe40..1110316 100644 --- a/core/modules/views_ui/lib/Drupal/views_ui/Tests/FieldUITest.php +++ b/core/modules/views_ui/lib/Drupal/views_ui/Tests/FieldUITest.php @@ -33,14 +33,13 @@ public static function getInfo() { * Tests the UI of field handlers. */ public function testFieldUI() { - $view_name = 'test_view'; // Ensure the field is not marked as hidden on the first run. - $this->drupalGet('admin/structure/views/view/' . $view_name . '/edit'); + $this->drupalGet('admin/structure/views/view/test_view/edit'); $this->assertText('Views test: Name'); $this->assertNoText('Views test: Name [' . t('hidden') . ']'); // Hides the field and check whether the hidden label is appended. - $edit_handler_url = 'admin/structure/views/nojs/config-item/' . $view_name . '/default/field/name'; + $edit_handler_url = 'admin/structure/views/nojs/config-item/test_view/default/field/name'; $this->drupalPostForm($edit_handler_url, array('options[exclude]' => TRUE), t('Apply')); $this->assertText('Views test: Name [' . t('hidden') . ']'); diff --git a/core/modules/views_ui/lib/Drupal/views_ui/Tests/StyleTableTest.php b/core/modules/views_ui/lib/Drupal/views_ui/Tests/StyleTableTest.php index 200be8a..32208e4 100644 --- a/core/modules/views_ui/lib/Drupal/views_ui/Tests/StyleTableTest.php +++ b/core/modules/views_ui/lib/Drupal/views_ui/Tests/StyleTableTest.php @@ -36,7 +36,7 @@ public function testWizard() { $view['page[title]'] = $this->randomName(16); $view['page[path]'] = $view['id']; $this->drupalPostForm('admin/structure/views/add', $view, t('Save and edit')); - + $view = views_get_view($view['id']); $view->initHandlers(); $this->assertEqual($view->field['title']->options['label'], 'Title', 'The field label for table styles is not empty.');