Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / content_translation / tests / src / Functional / ContentTranslationSyncImageTest.php
similarity index 98%
rename from web/core/modules/content_translation/src/Tests/ContentTranslationSyncImageTest.php
rename to web/core/modules/content_translation/tests/src/Functional/ContentTranslationSyncImageTest.php
index 30ff32de5224908e1bb4f4f73f656f17366c4f7c..5f7c9fd9b8ecebf885a4a5e8b4f82379103c83db 100644 (file)
@@ -1,11 +1,12 @@
 <?php
 
-namespace Drupal\content_translation\Tests;
+namespace Drupal\Tests\content_translation\Functional;
 
 use Drupal\Core\Entity\EntityInterface;
 use Drupal\field\Entity\FieldConfig;
 use Drupal\field\Entity\FieldStorageConfig;
 use Drupal\file\Entity\File;
+use Drupal\Tests\TestFileCreationTrait;
 
 /**
  * Tests the field synchronization behavior for the image field.
@@ -14,6 +15,10 @@ use Drupal\file\Entity\File;
  */
 class ContentTranslationSyncImageTest extends ContentTranslationTestBase {
 
+  use TestFileCreationTrait {
+    getTestFiles as drupalGetTestFiles;
+  }
+
   /**
    * The cardinality of the image field.
    *