public function MaintenanceThemeUpdateRegistryTest::testMaintenanceThemeUpdateRegistration in Drupal 10
Tests that after installing the profile there are no outstanding updates.
File
- core/
modules/ system/ tests/ src/ Functional/ Theme/ MaintenanceThemeUpdateRegistryTest.php, line 66
Class
- MaintenanceThemeUpdateRegistryTest
- Ensures theme update functions are registered for maintenance themes.
Namespace
Drupal\Tests\system\Functional\ThemeCode
public function testMaintenanceThemeUpdateRegistration() {
$this
->drupalLogin($this->rootUser);
$this
->drupalGet('update.php/selection');
$this
->updateRequirementsProblem();
$this
->drupalGet('update.php/selection');
$this
->assertSession()
->pageTextContains('No pending updates.');
}