You are here

public function AdminThemeUpdateTest::testUpdateHookN in Drupal 8

Tests that system.theme:admin is updated as expected.

File

core/modules/system/tests/src/Functional/Update/AdminThemeUpdateTest.php, line 33

Class

AdminThemeUpdateTest
Tests system.theme:admin is updated.

Namespace

Drupal\Tests\system\Functional\Update

Code

public function testUpdateHookN() {
  $this
    ->assertSame('0', $this
    ->config('system.theme')
    ->get('admin'));
  $this
    ->runUpdates();
  $this
    ->assertSame('', $this
    ->config('system.theme')
    ->get('admin'));
}