Mercurial > hg > isophonics-drupal-site
comparison core/modules/system/src/Tests/System/ThemeTest.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 1fec387a4317 |
children |
comparison
equal
deleted
inserted
replaced
15:e200cb7efeb3 | 16:c2387f117808 |
---|---|
426 | 426 |
427 // Confirm Bartik is indicated as the default theme. | 427 // Confirm Bartik is indicated as the default theme. |
428 $this->assertTextPattern('/Bartik ' . preg_quote($version) . '\s{2,}\(default theme\)/'); | 428 $this->assertTextPattern('/Bartik ' . preg_quote($version) . '\s{2,}\(default theme\)/'); |
429 } | 429 } |
430 | 430 |
431 /** | |
432 * Test the theme settings form when logo and favicon features are disabled. | |
433 */ | |
434 public function testThemeSettingsNoLogoNoFavicon() { | |
435 // Install theme with no logo and no favicon feature. | |
436 $this->container->get('theme_handler')->install(['test_theme_settings_features']); | |
437 // Visit this theme's settings page. | |
438 $this->drupalGet('admin/appearance/settings/test_theme_settings_features'); | |
439 $edit = []; | |
440 $this->drupalPostForm('admin/appearance/settings/test_theme_settings_features', $edit, t('Save configuration')); | |
441 $this->assertText('The configuration options have been saved.'); | |
442 } | |
443 | |
431 } | 444 } |