Issue #2920322 by zaporylie: Unused local variable in TaxonomyTermViewTest

8.5.x
xjm 2017-11-01 21:35:50 -05:00
parent 9debb7d597
commit 7c4d8e4765
1 changed files with 1 additions and 2 deletions

View File

@ -92,8 +92,7 @@ class TaxonomyTermViewTest extends TaxonomyTestBase {
$this->assertText($node->label());
\Drupal::service('module_installer')->install(['language', 'content_translation']);
$language = ConfigurableLanguage::createFromLangcode('ur');
$language->save();
ConfigurableLanguage::createFromLangcode('ur')->save();
// Enable translation for the article content type and ensure the change is
// picked up.
\Drupal::service('content_translation.manager')->setEnabled('node', 'article', TRUE);