function AJAXFormValuesTestCase::setUp

Overrides AJAXTestCase::setUp

File

modules/simpletest/tests/ajax.test, line 396

Class

AJAXFormValuesTestCase
Test that $form_state['values'] is properly delivered to $ajax['callback'].

Code

function setUp() {
  parent::setUp();
  $this->web_user = $this->drupalCreateUser(array(
    'access content',
  ));
  $this->drupalLogin($this->web_user);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.