Issue #2822382 by voleger, pfrenssen, erozqba, RytoEX, borisson_, sidharthap, Jo Fitzgerald, shashikant_chauhan: Make every property protected on classes extending BrowserTestBase and KernelTestBase

8.7.x
Nathaniel Catchpole 2018-08-15 19:55:23 +09:00
parent a42433ef91
commit 69501f3062
1882 changed files with 1882 additions and 1882 deletions

View File

@ -16,7 +16,7 @@ class ActionListTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['action'];
protected static $modules = ['action'];
/**
* Tests the behavior when there are no actions to list in the admin page.

View File

@ -17,7 +17,7 @@ class ActionUninstallTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['views', 'action'];
protected static $modules = ['views', 'action'];
/**
* Tests Action uninstall.

View File

@ -18,7 +18,7 @@ class BulkFormTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['node', 'action_bulk_test'];
protected static $modules = ['node', 'action_bulk_test'];
/**
* Tests the bulk form.

View File

@ -18,7 +18,7 @@ class ConfigurationTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['action'];
protected static $modules = ['action'];
/**
* Tests configuration of advanced actions through administration interface.

View File

@ -17,7 +17,7 @@ class MigrateActionConfigsTest extends MigrateDrupal6TestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['action'];
protected static $modules = ['action'];
/**
* {@inheritdoc}

View File

@ -12,7 +12,7 @@ use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
*/
class MigrateActionsTest extends MigrateDrupal6TestBase {
public static $modules = ['action', 'comment', 'node'];
protected static $modules = ['action', 'comment', 'node'];
/**
* {@inheritdoc}

View File

@ -17,7 +17,7 @@ class MigrateActionConfigsTest extends MigrateDrupal7TestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['action'];
protected static $modules = ['action'];
/**
* {@inheritdoc}

View File

@ -12,7 +12,7 @@ use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase;
*/
class MigrateActionsTest extends MigrateDrupal7TestBase {
public static $modules = ['action', 'comment', 'node'];
protected static $modules = ['action', 'comment', 'node'];
/**
* {@inheritdoc}

View File

@ -16,7 +16,7 @@ class EmailActionTest extends KernelTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['system', 'user', 'action', 'dblog'];
protected static $modules = ['system', 'user', 'action', 'dblog'];
/**
* {@inheritdoc}

View File

@ -15,7 +15,7 @@ class ActionTest extends MigrateSqlSourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['action', 'migrate_drupal', 'system'];
protected static $modules = ['action', 'migrate_drupal', 'system'];
/**
* {@inheritdoc}

View File

@ -27,7 +27,7 @@ abstract class AggregatorTestBase extends WebTestBase {
*
* @var array
*/
public static $modules = ['block', 'node', 'aggregator', 'aggregator_test', 'views'];
protected static $modules = ['block', 'node', 'aggregator', 'aggregator_test', 'views'];
/**
* {@inheritdoc}

View File

@ -17,7 +17,7 @@ class AggregatorRenderingTest extends AggregatorTestBase {
*
* @var array
*/
public static $modules = ['block', 'test_page_test'];
protected static $modules = ['block', 'test_page_test'];
protected function setUp() {
parent::setUp();

View File

@ -24,7 +24,7 @@ abstract class AggregatorTestBase extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'node', 'aggregator', 'aggregator_test', 'views'];
protected static $modules = ['block', 'node', 'aggregator', 'aggregator_test', 'views'];
/**
* {@inheritdoc}

View File

@ -14,7 +14,7 @@ class DeleteFeedTest extends AggregatorTestBase {
*
* @var array
*/
public static $modules = ['block'];
protected static $modules = ['block'];
/**
* Deletes a feed and ensures that all of its services are deleted.

View File

@ -17,7 +17,7 @@ class FeedCacheTagsTest extends EntityWithUriCacheTagsTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['aggregator'];
protected static $modules = ['aggregator'];
/**
* {@inheritdoc}

View File

@ -19,7 +19,7 @@ class FeedLanguageTest extends AggregatorTestBase {
*
* @var array
*/
public static $modules = ['language'];
protected static $modules = ['language'];
/**
* List of langcodes.

View File

@ -14,7 +14,7 @@ class FeedHalJsonBasicAuthTest extends FeedHalJsonTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['basic_auth'];
protected static $modules = ['basic_auth'];
/**
* {@inheritdoc}

View File

@ -12,7 +12,7 @@ abstract class FeedHalJsonTestBase extends FeedResourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['hal'];
protected static $modules = ['hal'];
/**
* {@inheritdoc}

View File

@ -14,7 +14,7 @@ class ItemHalJsonAnonTest extends ItemHalJsonTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['hal'];
protected static $modules = ['hal'];
/**
* {@inheritdoc}

View File

@ -14,7 +14,7 @@ class ItemHalJsonBasicAuthTest extends ItemHalJsonTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['hal', 'basic_auth'];
protected static $modules = ['hal', 'basic_auth'];
/**
* {@inheritdoc}

View File

@ -14,7 +14,7 @@ class ItemHalJsonCookieTest extends ItemHalJsonTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['hal'];
protected static $modules = ['hal'];
/**
* {@inheritdoc}

View File

@ -18,7 +18,7 @@ abstract class ItemHalJsonTestBase extends ItemResourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['hal'];
protected static $modules = ['hal'];
/**
* {@inheritdoc}

View File

@ -14,7 +14,7 @@ class ImportOpmlTest extends AggregatorTestBase {
*
* @var array
*/
public static $modules = ['block', 'help'];
protected static $modules = ['block', 'help'];
/**
* {@inheritdoc}

View File

@ -19,7 +19,7 @@ class ItemCacheTagsTest extends EntityCacheTagsTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['aggregator'];
protected static $modules = ['aggregator'];
/**
* {@inheritdoc}

View File

@ -14,7 +14,7 @@ class FeedJsonBasicAuthTest extends FeedResourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['basic_auth'];
protected static $modules = ['basic_auth'];
/**
* {@inheritdoc}

View File

@ -13,7 +13,7 @@ abstract class FeedResourceTestBase extends EntityResourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['aggregator'];
protected static $modules = ['aggregator'];
/**
* {@inheritdoc}

View File

@ -16,7 +16,7 @@ class FeedXmlBasicAuthTest extends FeedResourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['basic_auth'];
protected static $modules = ['basic_auth'];
/**
* {@inheritdoc}

View File

@ -14,7 +14,7 @@ class ItemJsonBasicAuthTest extends ItemResourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['basic_auth'];
protected static $modules = ['basic_auth'];
/**
* {@inheritdoc}

View File

@ -17,7 +17,7 @@ abstract class ItemResourceTestBase extends EntityResourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['aggregator'];
protected static $modules = ['aggregator'];
/**
* {@inheritdoc}

View File

@ -16,7 +16,7 @@ class ItemXmlBasicAuthTest extends ItemResourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['basic_auth'];
protected static $modules = ['basic_auth'];
/**
* {@inheritdoc}

View File

@ -18,7 +18,7 @@ class AggregatorTitleTest extends KernelTestBase {
*
* @var array
*/
public static $modules = ['file', 'field', 'options', 'aggregator', 'system'];
protected static $modules = ['file', 'field', 'options', 'aggregator', 'system'];
/**
* The field name that is tested.

View File

@ -17,7 +17,7 @@ class FeedValidationTest extends EntityKernelTestBase {
*
* @var array
*/
public static $modules = ['aggregator', 'options'];
protected static $modules = ['aggregator', 'options'];
/**
* {@inheritdoc}

View File

@ -15,7 +15,7 @@ class ItemWithoutFeedTest extends KernelTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['aggregator', 'options'];
protected static $modules = ['aggregator', 'options'];
/**
* {@inheritdoc}

View File

@ -17,7 +17,7 @@ class MigrateAggregatorStubTest extends MigrateDrupalTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['aggregator'];
protected static $modules = ['aggregator'];
/**
* {@inheritdoc}

View File

@ -17,7 +17,7 @@ class MigrateAggregatorConfigsTest extends MigrateDrupal6TestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['aggregator'];
protected static $modules = ['aggregator'];
/**
* {@inheritdoc}

View File

@ -15,7 +15,7 @@ class MigrateAggregatorFeedTest extends MigrateDrupal6TestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['aggregator'];
protected static $modules = ['aggregator'];
/**
* {@inheritdoc}

View File

@ -15,7 +15,7 @@ class MigrateAggregatorItemTest extends MigrateDrupal6TestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['aggregator'];
protected static $modules = ['aggregator'];
/**
* {@inheritdoc}

View File

@ -15,7 +15,7 @@ class MigrateAggregatorFeedTest extends MigrateDrupal7TestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['aggregator'];
protected static $modules = ['aggregator'];
/**
* {@inheritdoc}

View File

@ -15,7 +15,7 @@ class MigrateAggregatorItemTest extends MigrateDrupal7TestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['aggregator'];
protected static $modules = ['aggregator'];
/**
* {@inheritdoc}

View File

@ -11,7 +11,7 @@ use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase;
*/
class MigrateAggregatorSettingsTest extends MigrateDrupal7TestBase {
public static $modules = ['aggregator'];
protected static $modules = ['aggregator'];
/**
* {@inheritdoc}

View File

@ -15,7 +15,7 @@ class AggregatorFeedTest extends MigrateSqlSourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['aggregator', 'migrate_drupal'];
protected static $modules = ['aggregator', 'migrate_drupal'];
/**
* {@inheritdoc}

View File

@ -15,7 +15,7 @@ class AggregatorItemTest extends MigrateSqlSourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['aggregator', 'migrate_drupal'];
protected static $modules = ['aggregator', 'migrate_drupal'];
/**
* {@inheritdoc}

View File

@ -15,7 +15,7 @@ class AggregatorFeedViewsFieldAccessTest extends FieldFieldAccessTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['aggregator', 'entity_test', 'options'];
protected static $modules = ['aggregator', 'entity_test', 'options'];
/**
* {@inheritdoc}

View File

@ -16,7 +16,7 @@ class AggregatorItemViewsFieldAccessTest extends FieldFieldAccessTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['aggregator', 'entity_test', 'options'];
protected static $modules = ['aggregator', 'entity_test', 'options'];
/**
* {@inheritdoc}

View File

@ -21,7 +21,7 @@ class IntegrationTest extends ViewsKernelTestBase {
*
* @var array
*/
public static $modules = ['aggregator', 'aggregator_test_views', 'system', 'field', 'options', 'user'];
protected static $modules = ['aggregator', 'aggregator_test_views', 'system', 'field', 'options', 'user'];
/**
* Views used by this test.

View File

@ -18,7 +18,7 @@ class IpAddressBlockingTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['ban'];
protected static $modules = ['ban'];
/**
* Tests various user input to confirm correct validation and saving of data.

View File

@ -19,7 +19,7 @@ class MigrateBlockedIPsTest extends MigrateDrupal7TestBase {
*
* @var array
*/
public static $modules = ['ban'];
protected static $modules = ['ban'];
/**
* {@inheritdoc}

View File

@ -15,7 +15,7 @@ class BlockedIpsTest extends MigrateSqlSourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['ban', 'migrate_drupal'];
protected static $modules = ['ban', 'migrate_drupal'];
/**
* {@inheritdoc}

View File

@ -23,7 +23,7 @@ class BasicAuthTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['basic_auth', 'router_test', 'locale', 'basic_auth_test'];
protected static $modules = ['basic_auth', 'router_test', 'locale', 'basic_auth_test'];
/**
* Test http basic authentication.

View File

@ -30,7 +30,7 @@ class BigPipeTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['big_pipe', 'big_pipe_test', 'dblog'];
protected static $modules = ['big_pipe', 'big_pipe_test', 'dblog'];
/**
* {@inheritdoc}

View File

@ -29,7 +29,7 @@ class BigPipeRegressionTest extends WebDriverTestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
protected static $modules = [
'big_pipe',
'big_pipe_regression_test',
];

View File

@ -22,7 +22,7 @@ abstract class BlockTestBase extends WebTestBase {
*
* @var array
*/
public static $modules = ['block', 'filter', 'test_page_test', 'help', 'block_test'];
protected static $modules = ['block', 'filter', 'test_page_test', 'help', 'block_test'];
/**
* A list of theme regions to test.

View File

@ -16,7 +16,7 @@ class BlockAdminThemeTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'contextual'];
protected static $modules = ['block', 'contextual'];
/**
* Check for the accessibility of the admin theme on the block admin page.

View File

@ -17,7 +17,7 @@ class BlockCacheTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_test', 'test_page_test'];
protected static $modules = ['block', 'block_test', 'test_page_test'];
/**
* A user with permission to create and edit books and to administer blocks.

View File

@ -16,7 +16,7 @@ class BlockDemoTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block'];
protected static $modules = ['block'];
/**
* Check for the accessibility of the admin block demo page.

View File

@ -17,7 +17,7 @@ class BlockFormInBlockTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_test', 'test_page_test'];
protected static $modules = ['block', 'block_test', 'test_page_test'];
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ class BlockHiddenRegionTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_test', 'search'];
protected static $modules = ['block', 'block_test', 'search'];
protected function setUp() {
parent::setUp();

View File

@ -16,7 +16,7 @@ class BlockHookOperationTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'entity_test'];
protected static $modules = ['block', 'entity_test'];
protected function setUp() {
parent::setUp();

View File

@ -16,7 +16,7 @@ class BlockHtmlTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_test'];
protected static $modules = ['block', 'block_test'];
protected function setUp() {
parent::setUp();

View File

@ -18,7 +18,7 @@ class BlockInvalidRegionTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_test'];
protected static $modules = ['block', 'block_test'];
protected function setUp() {
parent::setUp();

View File

@ -17,7 +17,7 @@ class BlockLanguageCacheTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'language', 'menu_ui'];
protected static $modules = ['block', 'language', 'menu_ui'];
/**
* List of langcodes.

View File

@ -23,7 +23,7 @@ class BlockLanguageTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['language', 'block', 'content_translation'];
protected static $modules = ['language', 'block', 'content_translation'];
protected function setUp() {
parent::setUp();

View File

@ -17,7 +17,7 @@ class BlockRenderOrderTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['node', 'block'];
protected static $modules = ['node', 'block'];
protected function setUp() {
parent::setUp();

View File

@ -14,7 +14,7 @@ class BlockSystemBrandingTest extends BlockTestBase {
*
* @var array
*/
public static $modules = ['block', 'system'];
protected static $modules = ['block', 'system'];
/**
* {@inheritdoc}

View File

@ -17,7 +17,7 @@ class BlockTemplateSuggestionsTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block'];
protected static $modules = ['block'];
/**
* Tests template suggestions from block_theme_suggestions_block().

View File

@ -15,7 +15,7 @@ abstract class BlockTestBase extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'filter', 'test_page_test', 'help', 'block_test'];
protected static $modules = ['block', 'filter', 'test_page_test', 'help', 'block_test'];
/**
* A list of theme regions to test.

View File

@ -17,7 +17,7 @@ class BlockUiTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_test', 'help', 'condition_test'];
protected static $modules = ['block', 'block_test', 'help', 'condition_test'];
protected $regions;

View File

@ -21,7 +21,7 @@ class BlockXssTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_content', 'menu_ui', 'views'];
protected static $modules = ['block', 'block_content', 'menu_ui', 'views'];
/**
* Tests that nothing is escaped other than the blocks explicitly tested.

View File

@ -15,7 +15,7 @@ class BlockHalJsonAnonTest extends BlockResourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['hal'];
protected static $modules = ['hal'];
/**
* {@inheritdoc}

View File

@ -15,7 +15,7 @@ class BlockHalJsonBasicAuthTest extends BlockResourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['hal', 'basic_auth'];
protected static $modules = ['hal', 'basic_auth'];
/**
* {@inheritdoc}

View File

@ -15,7 +15,7 @@ class BlockHalJsonCookieTest extends BlockResourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['hal'];
protected static $modules = ['hal'];
/**
* {@inheritdoc}

View File

@ -16,7 +16,7 @@ class NewDefaultThemeBlocksTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block'];
protected static $modules = ['block'];
/**
* Check the enabled Bartik blocks are correctly copied over.

View File

@ -16,7 +16,7 @@ class NonDefaultBlockAdminTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block'];
protected static $modules = ['block'];
/**
* {@inheritdoc}

View File

@ -14,7 +14,7 @@ class BlockJsonBasicAuthTest extends BlockResourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['basic_auth'];
protected static $modules = ['basic_auth'];
/**
* {@inheritdoc}

View File

@ -10,7 +10,7 @@ abstract class BlockResourceTestBase extends EntityResourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['block'];
protected static $modules = ['block'];
/**
* {@inheritdoc}

View File

@ -16,7 +16,7 @@ class BlockXmlBasicAuthTest extends BlockResourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['basic_auth'];
protected static $modules = ['basic_auth'];
/**
* {@inheritdoc}

View File

@ -28,7 +28,7 @@ class DisplayBlockTest extends ViewTestBase {
*
* @var array
*/
public static $modules = ['node', 'block_test_views', 'test_page_test', 'contextual', 'views_ui'];
protected static $modules = ['node', 'block_test_views', 'test_page_test', 'contextual', 'views_ui'];
/**
* Views used by this test.

View File

@ -15,7 +15,7 @@ class BlockFilterTest extends WebDriverTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['user', 'block'];
protected static $modules = ['user', 'block'];
/**
* {@inheritdoc}

View File

@ -18,7 +18,7 @@ class BlockConfigSchemaTest extends KernelTestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
protected static $modules = [
'block',
'aggregator',
'book',

View File

@ -13,7 +13,7 @@ use Drupal\KernelTests\KernelTestBase;
*/
class BlockInterfaceTest extends KernelTestBase {
public static $modules = ['system', 'block', 'block_test', 'user'];
protected static $modules = ['system', 'block', 'block_test', 'user'];
/**
* Test configuration and subsequent form() and build() method calls.

View File

@ -19,7 +19,7 @@ class BlockRebuildTest extends KernelTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['block', 'system'];
protected static $modules = ['block', 'system'];
/**
* {@inheritdoc}

View File

@ -21,7 +21,7 @@ class BlockStorageUnitTest extends KernelTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_test', 'system'];
protected static $modules = ['block', 'block_test', 'system'];
/**
* The block storage.

View File

@ -20,7 +20,7 @@ class BlockViewBuilderTest extends KernelTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_test', 'system', 'user'];
protected static $modules = ['block', 'block_test', 'system', 'user'];
/**
* The block being tested.

View File

@ -14,7 +14,7 @@ class MigrateBlockContentTranslationTest extends MigrateDrupal6TestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
protected static $modules = [
'aggregator',
'book',
'block',

View File

@ -15,7 +15,7 @@ class MigrateBlockTest extends MigrateDrupal6TestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
protected static $modules = [
'block',
'views',
'comment',

View File

@ -16,7 +16,7 @@ class MigrateBlockTest extends MigrateDrupal7TestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
protected static $modules = [
'block',
'views',
'comment',

View File

@ -15,7 +15,7 @@ class BlockTest extends MigrateSqlSourceTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['block', 'migrate_drupal'];
protected static $modules = ['block', 'migrate_drupal'];
/**
* {@inheritdoc}

View File

@ -16,7 +16,7 @@ class BlockTranslationTest extends BlockTest {
/**
* {@inheritdoc}
*/
public static $modules = ['block'];
protected static $modules = ['block'];
/**
* {@inheritdoc}

View File

@ -42,7 +42,7 @@ abstract class BlockContentTestBase extends WebTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_content'];
protected static $modules = ['block', 'block_content'];
/**
* Whether or not to auto-create the basic block type during setup.

View File

@ -39,7 +39,7 @@ abstract class BlockContentTestBase extends ViewTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_content', 'block_content_test_views'];
protected static $modules = ['block', 'block_content', 'block_content_test_views'];
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);

View File

@ -20,7 +20,7 @@ class BlockContentCacheTagsTest extends EntityCacheTagsTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['block_content'];
protected static $modules = ['block_content'];
/**
* {@inheritdoc}

View File

@ -12,7 +12,7 @@ class BlockContentContextualLinksTest extends BlockContentTestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
protected static $modules = [
'contextual',
];

View File

@ -20,7 +20,7 @@ class BlockContentCreationTest extends BlockContentTestBase {
*
* @var array
*/
public static $modules = ['block_content_test', 'dblog', 'field_ui'];
protected static $modules = ['block_content_test', 'dblog', 'field_ui'];
/**
* Permissions to grant admin user.

View File

@ -20,7 +20,7 @@ class BlockContentListTest extends BlockContentTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_content', 'config_translation'];
protected static $modules = ['block', 'block_content', 'config_translation'];
/**
* Tests the custom block listing page.

View File

@ -18,7 +18,7 @@ class BlockContentListViewsTest extends BlockContentTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_content', 'config_translation', 'views'];
protected static $modules = ['block', 'block_content', 'config_translation', 'views'];
/**
* Tests the custom block listing page.

View File

@ -14,7 +14,7 @@ class BlockContentPageViewTest extends BlockContentTestBase {
*
* @var array
*/
public static $modules = ['block_content_test'];
protected static $modules = ['block_content_test'];
/**
* Checks block edit and fallback functionality.

View File

@ -16,7 +16,7 @@ class BlockContentSaveTest extends BlockContentTestBase {
*
* @var array
*/
public static $modules = ['block_content_test'];
protected static $modules = ['block_content_test'];
/**
* Sets the test up.

View File

@ -39,7 +39,7 @@ abstract class BlockContentTestBase extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_content'];
protected static $modules = ['block', 'block_content'];
/**
* Whether or not to auto-create the basic block type during setup.

View File

@ -18,7 +18,7 @@ class BlockContentTranslationUITest extends ContentTranslationUITestBase {
*
* @var array
*/
public static $modules = [
protected static $modules = [
'language',
'content_translation',
'block',

View File

@ -20,7 +20,7 @@ class BlockContentTypeTest extends BlockContentTestBase {
*
* @var array
*/
public static $modules = ['field_ui'];
protected static $modules = ['field_ui'];
/**
* Permissions to grant admin user.

Some files were not shown because too many files have changed in this diff Show More