You are here

public function ThemekeyUITestCase::enableContactForm in ThemeKey 7.3

1 call to ThemekeyUITestCase::enableContactForm()
ThemekeyUITestCase::testAuthorTriggersTheme in tests/ThemekeyUITestCase.test

File

tests/ThemekeyUITestCase.test, line 49
Implements tests for the theme switching rules.

Class

ThemekeyUITestCase
@file Implements tests for the theme switching rules.

Code

public function enableContactForm() {
  $edit = array(
    'contact' => 1,
  );
  $this
    ->drupalPost('user/' . $this->content_user->uid . '/edit', $edit, t('Save'));
}