function MenuIncTestCase::testThemeCallbackNoThemeRequested in SimpleTest 7
Test the theme callback when no theme is requested.
File
Class
- MenuIncTestCase
- @file Provides SimpleTests for menu.inc.
Code
function testThemeCallbackNoThemeRequested() {
$this
->drupalGet('menu-test/theme-callback/no-theme-requested');
$this
->assertText('Requested theme: NONE. Actual theme: garland.', t('The theme callback system falls back on the default theme when no theme is requested.'));
$this
->assertRaw('garland/style.css', t("The default theme's CSS appears on the page."));
}