Pull merge.
[yaffs-website] / web / core / modules / taxonomy / tests / src / Functional / TermTranslationFieldViewTest.php
index c5df74dadea2d8362829ab76a611c7136ea2b05e..236ac70553353903ce0cad4b45ad0533533ac8ba 100644 (file)
@@ -3,7 +3,6 @@
 namespace Drupal\Tests\taxonomy\Functional;
 
 use Drupal\node\Entity\Node;
-use Drupal\taxonomy\Tests\TaxonomyTranslationTestTrait;
 
 /**
  * Tests the translation of taxonomy terms field on nodes.
@@ -75,10 +74,12 @@ class TermTranslationFieldViewTest extends TaxonomyTestBase {
     $node = Node::create([
       'title' => $this->randomMachineName(),
       'type' => 'article',
-      'description' => [[
-        'value' => $this->randomMachineName(),
-        'format' => 'basic_html'
-      ]],
+      'description' => [
+        [
+          'value' => $this->randomMachineName(),
+          'format' => 'basic_html',
+        ],
+      ],
       $this->termFieldName => [['target_id' => $this->term->id()]],
       'langcode' => $this->baseLangcode,
     ]);