function OliveroPostUpdateTest::testOliveroThirdPartySettingsWithoutShortcut

Tests update olivero third party settings without shortcut installed.

File

core/themes/olivero/tests/src/Functional/Update/OliveroPostUpdateTest.php, line 39

Class

OliveroPostUpdateTest
Tests the update path for Olivero.

Namespace

Drupal\Tests\olivero\Functional\Update

Code

public function testOliveroThirdPartySettingsWithoutShortcut() : void {
  $config = $this->config('olivero.settings');
  $this->assertNotEmpty($config->get('third_party_settings'));
  // Run updates.
  $this->runUpdates();
  $config = $this->config('olivero.settings');
  $this->assertNull($config->get('third_party_settings'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.