1 views_groupby.test viewsUiGroupbyTestCase::testGroupBySave()

Tests whether basic saving works.

@todo: this should check the change of the settings as well.

File

core/modules/views/tests/views_groupby.test, line 321
Tests aggregate functionality of Views.

Class

viewsUiGroupbyTestCase
Tests UI of aggregate functionality..

Code

function testGroupBySave() {
  $this->backdropGet('admin/structure/views/view/test_views_groupby_save/configure');

  $edit = array(
    'group_by' => TRUE,
  );
  $this->backdropPost('admin/structure/views/nojs/display/test_views_groupby_save/default/group_by', $edit, t('Apply'));

  $this->backdropGet('admin/structure/views/view/test_views_groupby_save/configure');
  $this->backdropPost('admin/structure/views/view/test_views_groupby_save/configure', array(), t('Save'));

  $this->backdropGet('admin/structure/views/nojs/display/test_views_groupby_save/default/group_by');
}