Révision 6ff32cea
Ajouté par Florent Torregrosa il y a environ 9 ans
drupal7/modules/simpletest/tests/theme.test | ||
---|---|---|
155 | 155 |
$this->assertNotEqual(theme_get_setting('subtheme_override', 'test_basetheme'), theme_get_setting('subtheme_override', 'test_subtheme'), 'Base theme\'s default settings values can be overridden by subtheme.'); |
156 | 156 |
$this->assertIdentical(theme_get_setting('basetheme_only', 'test_subtheme'), 'base theme value', 'Base theme\'s default settings values are inherited by subtheme.'); |
157 | 157 |
} |
158 |
|
|
159 |
/** |
|
160 |
* Test the drupal_add_region_content() function. |
|
161 |
*/ |
|
162 |
function testDrupalAddRegionContent() { |
|
163 |
$this->drupalGet('theme-test/drupal-add-region-content'); |
|
164 |
$this->assertText('Hello'); |
|
165 |
$this->assertText('World'); |
|
166 |
} |
|
158 | 167 |
} |
159 | 168 |
|
160 | 169 |
/** |
Formats disponibles : Unified diff
Update core to 7.36