You are here

public function LanguageConfigOverrideTest::testDelete in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/language/tests/src/Unit/Config/LanguageConfigOverrideTest.php \Drupal\Tests\language\Unit\Config\LanguageConfigOverrideTest::testDelete()

@covers ::delete

File

core/modules/language/tests/src/Unit/Config/LanguageConfigOverrideTest.php, line 96
Contains \Drupal\Tests\language\Unit\Config\LanguageConfigOverrideTest.

Class

LanguageConfigOverrideTest
@coversDefaultClass \Drupal\language\Config\LanguageConfigOverride @group Config @group language

Namespace

Drupal\Tests\language\Unit\Config

Code

public function testDelete() {
  $this->cacheTagsInvalidator
    ->expects($this
    ->once())
    ->method('invalidateTags')
    ->with([
    'config:config.test',
  ]);
  $this->configTranslation
    ->initWithData([]);
  $this->configTranslation
    ->delete();
}