Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / comment / tests / src / Functional / Views / CommentFieldNameTest.php
similarity index 94%
rename from web/core/modules/comment/src/Tests/Views/CommentFieldNameTest.php
rename to web/core/modules/comment/tests/src/Functional/Views/CommentFieldNameTest.php
index 870a4f4f86fc634850a51c490a111c674386cf28..a5e25be69c804934463edf1ac90c9f961fbaa47e 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-namespace Drupal\comment\Tests\Views;
+namespace Drupal\Tests\comment\Functional\Views;
 
 use Drupal\comment\Entity\Comment;
 use Drupal\Core\Render\RenderContext;
@@ -39,8 +39,8 @@ class CommentFieldNameTest extends CommentTestBase {
   /**
    * {@inheritdoc}
    */
-  protected function setUp() {
-    parent::setUp();
+  protected function setUp($import_test_views = TRUE) {
+    parent::setUp($import_test_views);
     $this->addDefaultCommentField('node', 'page', $this->fieldName);
     $this->customComment = Comment::create([
       'entity_id' => $this->nodeUserCommented->id(),