function ModuleProvidedThemeEngineTestCase::testEngineIsFoundAndWorking in Drupal 7
Ensures that the module provided theme engine is found and used by core.
File
- modules/
simpletest/ tests/ theme.test, line 692 - Tests for the theme API.
Class
- ModuleProvidedThemeEngineTestCase
- Tests module-provided theme engines.
Code
function testEngineIsFoundAndWorking() {
variable_set('theme_default', 'test_theme_nyan_cat');
variable_set('admin_theme', 'test_theme_nyan_cat');
$this
->drupalGet('theme-test/engine-info-test');
$this
->assertText('Miaou');
}