function ModuleProvidedThemeEngineTestCase::testEngineIsFoundAndWorking

Ensures that the module provided theme engine is found and used by core.

File

drupal/modules/simpletest/tests/theme.test, line 671
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');
}