diff --git a/core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php b/core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php index cad7b2b981..1731e99b7d 100644 --- a/core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php +++ b/core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php @@ -4,6 +4,7 @@ use Drupal\comment\Entity\Comment; use Drupal\Core\Session\AnonymousUserSession; +use Drupal\simpletest\AssertContentTrait; use Drupal\Tests\views\Kernel\ViewsKernelTestBase; use Drupal\user\Entity\Role; use Drupal\user\Entity\User; @@ -17,6 +18,8 @@ */ class CommentUserNameTest extends ViewsKernelTestBase { + use AssertContentTrait; + /** * Admin user. * diff --git a/core/modules/image/tests/src/Functional/ImageAdminStylesTest.php b/core/modules/image/src/Tests/ImageAdminStylesTest.php similarity index 99% rename from core/modules/image/tests/src/Functional/ImageAdminStylesTest.php rename to core/modules/image/src/Tests/ImageAdminStylesTest.php index fa2c2f8081..5313b7fdbb 100644 --- a/core/modules/image/tests/src/Functional/ImageAdminStylesTest.php +++ b/core/modules/image/src/Tests/ImageAdminStylesTest.php @@ -1,6 +1,6 @@