Skip to content
Snippets Groups Projects
Verified Commit 40b402a1 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3477613 by quietone: Add doc block for $modules in tests

(cherry picked from commit 1bf08a6c)
parent 8622d4df
No related branches found
No related tags found
2 merge requests!11185Issue #3477324 by andypost, alexpott: Fix usage of str_getcsv() and fgetcsv() for PHP 8.4,!9944Issue #3483353: Consider making the createCopy config action optionally fail...
Pipeline #317804 passed with warnings
Pipeline: drupal

#317847

    Pipeline: drupal

    #317842

      Pipeline: drupal

      #317839

        +7
        Showing
        with 58 additions and 3 deletions
        ...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
        */ */
        class BlockInterfaceTest extends KernelTestBase { class BlockInterfaceTest extends KernelTestBase {
        /**
        * {@inheritdoc}
        */
        protected static $modules = ['system', 'block', 'block_test', 'user']; protected static $modules = ['system', 'block', 'block_test', 'user'];
        /** /**
        ......
        ...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
        */ */
        class MigrateBlockContentBodyFieldTest extends MigrateDrupal7TestBase { class MigrateBlockContentBodyFieldTest extends MigrateDrupal7TestBase {
        /**
        * {@inheritdoc}
        */
        protected static $modules = ['block', 'block_content', 'filter', 'text']; protected static $modules = ['block', 'block_content', 'filter', 'text'];
        /** /**
        ......
        ...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
        */ */
        class MigrateBlockContentTypeTest extends MigrateDrupal7TestBase { class MigrateBlockContentTypeTest extends MigrateDrupal7TestBase {
        /**
        * {@inheritdoc}
        */
        protected static $modules = ['block', 'block_content', 'filter', 'text']; protected static $modules = ['block', 'block_content', 'filter', 'text'];
        /** /**
        ......
        ...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
        */ */
        class MigrateCustomBlockTest extends MigrateDrupal7TestBase { class MigrateCustomBlockTest extends MigrateDrupal7TestBase {
        /**
        * {@inheritdoc}
        */
        protected static $modules = [ protected static $modules = [
        'block_content', 'block_content',
        'filter', 'filter',
        ......
        ...@@ -17,9 +17,7 @@ ...@@ -17,9 +17,7 @@
        class CommentFieldsTest extends CommentTestBase { class CommentFieldsTest extends CommentTestBase {
        /** /**
        * Install the field UI. * {@inheritdoc}
        *
        * @var array
        */ */
        protected static $modules = ['field_ui']; protected static $modules = ['field_ui'];
        ......
        ...@@ -11,6 +11,9 @@ ...@@ -11,6 +11,9 @@
        */ */
        class CommentLinksAlterTest extends CommentTestBase { class CommentLinksAlterTest extends CommentTestBase {
        /**
        * {@inheritdoc}
        */
        protected static $modules = ['comment_test']; protected static $modules = ['comment_test'];
        /** /**
        ......
        ...@@ -27,6 +27,9 @@ class CommentNonNodeTest extends BrowserTestBase { ...@@ -27,6 +27,9 @@ class CommentNonNodeTest extends BrowserTestBase {
        use FieldUiTestTrait; use FieldUiTestTrait;
        use CommentTestTrait; use CommentTestTrait;
        /**
        * {@inheritdoc}
        */
        protected static $modules = [ protected static $modules = [
        'comment', 'comment',
        'user', 'user',
        ......
        ...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
        */ */
        class ConfigTranslationDateFormatUiTest extends BrowserTestBase { class ConfigTranslationDateFormatUiTest extends BrowserTestBase {
        /**
        * {@inheritdoc}
        */
        protected static $modules = [ protected static $modules = [
        'language', 'language',
        'config_translation', 'config_translation',
        ......
        ...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
        */ */
        class MigrateSystemMaintenanceTranslationTest extends MigrateDrupal6TestBase { class MigrateSystemMaintenanceTranslationTest extends MigrateDrupal6TestBase {
        /**
        * {@inheritdoc}
        */
        protected static $modules = [ protected static $modules = [
        'language', 'language',
        'config_translation', 'config_translation',
        ......
        ...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
        */ */
        class MigrateSystemSiteTranslationTest extends MigrateDrupal6TestBase { class MigrateSystemSiteTranslationTest extends MigrateDrupal6TestBase {
        /**
        * {@inheritdoc}
        */
        protected static $modules = [ protected static $modules = [
        'language', 'language',
        'config_translation', 'config_translation',
        ......
        ...@@ -16,6 +16,9 @@ class MigrateUserConfigsTranslationTest extends MigrateDrupal6TestBase { ...@@ -16,6 +16,9 @@ class MigrateUserConfigsTranslationTest extends MigrateDrupal6TestBase {
        use SchemaCheckTestTrait; use SchemaCheckTestTrait;
        /**
        * {@inheritdoc}
        */
        protected static $modules = [ protected static $modules = [
        'language', 'language',
        'locale', 'locale',
        ......
        ...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
        */ */
        class MigrateSystemMaintenanceTranslationTest extends MigrateDrupal7TestBase { class MigrateSystemMaintenanceTranslationTest extends MigrateDrupal7TestBase {
        /**
        * {@inheritdoc}
        */
        protected static $modules = [ protected static $modules = [
        'language', 'language',
        'config_translation', 'config_translation',
        ......
        ...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
        */ */
        class ContentTranslationEntityBundleUITest extends BrowserTestBase { class ContentTranslationEntityBundleUITest extends BrowserTestBase {
        /**
        * {@inheritdoc}
        */
        protected static $modules = [ protected static $modules = [
        'language', 'language',
        'content_translation', 'content_translation',
        ......
        ...@@ -56,6 +56,9 @@ class ContentTranslationSyncUnitTest extends KernelTestBase { ...@@ -56,6 +56,9 @@ class ContentTranslationSyncUnitTest extends KernelTestBase {
        */ */
        protected $unchangedFieldValues; protected $unchangedFieldValues;
        /**
        * {@inheritdoc}
        */
        protected static $modules = ['language', 'content_translation']; protected static $modules = ['language', 'content_translation'];
        /** /**
        ......
        ...@@ -21,6 +21,9 @@ class EntityReferenceAutoCreateTest extends BrowserTestBase { ...@@ -21,6 +21,9 @@ class EntityReferenceAutoCreateTest extends BrowserTestBase {
        use EntityReferenceFieldCreationTrait; use EntityReferenceFieldCreationTrait;
        /**
        * {@inheritdoc}
        */
        protected static $modules = ['node', 'taxonomy', 'entity_test']; protected static $modules = ['node', 'taxonomy', 'entity_test'];
        /** /**
        ......
        ...@@ -19,6 +19,9 @@ class EntityReferenceFileUploadTest extends BrowserTestBase { ...@@ -19,6 +19,9 @@ class EntityReferenceFileUploadTest extends BrowserTestBase {
        use TestFileCreationTrait; use TestFileCreationTrait;
        /**
        * {@inheritdoc}
        */
        protected static $modules = ['node', 'file']; protected static $modules = ['node', 'file'];
        /** /**
        ......
        ...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
        */ */
        class MigrateFieldFormatterSettingsTest extends MigrateDrupal7TestBase { class MigrateFieldFormatterSettingsTest extends MigrateDrupal7TestBase {
        /**
        * {@inheritdoc}
        */
        protected static $modules = [ protected static $modules = [
        'comment', 'comment',
        'datetime', 'datetime',
        ......
        ...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
        */ */
        class MigrateViewModesTest extends MigrateDrupal7TestBase { class MigrateViewModesTest extends MigrateDrupal7TestBase {
        /**
        * {@inheritdoc}
        */
        protected static $modules = ['comment', 'node', 'taxonomy', 'text']; protected static $modules = ['comment', 'node', 'taxonomy', 'text'];
        /** /**
        ......
        ...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
        */ */
        class FilterAPITest extends EntityKernelTestBase { class FilterAPITest extends EntityKernelTestBase {
        /**
        * {@inheritdoc}
        */
        protected static $modules = ['system', 'filter', 'filter_test', 'user']; protected static $modules = ['system', 'filter', 'filter_test', 'user'];
        /** /**
        ......
        ...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
        */ */
        class FilterDefaultConfigTest extends KernelTestBase { class FilterDefaultConfigTest extends KernelTestBase {
        /**
        * {@inheritdoc}
        */
        protected static $modules = ['system', 'user', 'filter', 'filter_test']; protected static $modules = ['system', 'user', 'filter', 'filter_test'];
        /** /**
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Finish editing this message first!
        Please register or to comment