public function ThemekeyUITestCase::setThemeForOwnContent in ThemeKey 7.3
1 call to ThemekeyUITestCase::setThemeForOwnContent()
File
- tests/
ThemekeyUITestCase.test, line 42 - Implements tests for the theme switching rules.
Class
- ThemekeyUITestCase
- @file Implements tests for the theme switching rules.
Code
public function setThemeForOwnContent($theme) {
$edit = array(
'themekey_ui_theme' => $theme,
);
$this
->drupalPost('user/' . $this->content_user->uid . '/edit', $edit, t('Save'));
}