Commit cdab74ee authored by alexpott's avatar alexpott
Browse files

Issue #1541298 by sun, Berdir: Remove Node module dependency from Testing profile.

parent 9d5d0eab
......@@ -21,7 +21,7 @@ class BulkFormTest extends WebTestBase {
*
* @var array
*/
public static $modules = array('action_bulk_test');
public static $modules = array('node', 'action_bulk_test');
public static function getInfo() {
return array(
......
......@@ -12,16 +12,6 @@
*/
class CustomBlockPageViewTest extends CustomBlockTestBase {
/**
* Permissions to grant admin user.
*
* @var array
*/
protected $permissions = array(
'administer blocks',
'access content'
);
/**
* Modules to enable.
*
......
......@@ -40,7 +40,7 @@ function setUp() {
$this->drupalPlaceBlock('test_html', array('id' => 'test_html_block'));
// Enable a menu block, to test more complicated HTML.
$this->drupalPlaceBlock('system_menu_block:tools');
$this->drupalPlaceBlock('system_menu_block:admin');
}
/**
......
......@@ -19,7 +19,7 @@ class BlockRenderOrderTest extends WebTestBase {
*
* @var array
*/
public static $modules = array('block');
public static $modules = array('node', 'block');
public static function getInfo() {
return array(
......
......@@ -24,7 +24,7 @@ class DisplayBlockTest extends ViewTestBase {
*
* @var array
*/
public static $modules = array('block_test_views', 'test_page_test', 'contextual', 'views_ui');
public static $modules = array('node', 'block_test_views', 'test_page_test', 'contextual', 'views_ui');
/**
* Views used by this test.
......
......@@ -369,10 +369,9 @@ public static function baseFieldDefinitions($entity_type) {
->setDescription(t('The parent comment ID if this is a reply to a comment.'))
->setSetting('target_type', 'comment');
$fields['entity_id'] = FieldDefinition::create('entity_reference')
$fields['entity_id'] = FieldDefinition::create('integer')
->setLabel(t('Entity ID'))
->setDescription(t('The ID of the entity of which this comment is a reply.'))
->setSetting('target_type', 'node')
->setRequired(TRUE);
$fields['langcode'] = FieldDefinition::create('language')
......
......@@ -23,7 +23,7 @@ class CommentLanguageTest extends WebTestBase {
*
* @var array
*/
public static $modules = array('language', 'language_test', 'comment_test');
public static $modules = array('node', 'language', 'language_test', 'comment_test');
public static function getInfo() {
return array(
......
......@@ -20,7 +20,7 @@ abstract class CommentTestBase extends ViewTestBase {
*
* @var array
*/
public static $modules = array('comment', 'comment_test_views');
public static $modules = array('node', 'comment', 'comment_test_views');
/**
* Stores a comment used by the tests.
......
......@@ -18,7 +18,7 @@ class DefaultViewRecentComments extends ViewTestBase {
*
* @var array
*/
public static $modules = array('comment', 'block');
public static $modules = array('node', 'comment', 'block');
/**
* Number of results for the Master display.
......
......@@ -21,7 +21,7 @@ class WizardTest extends WizardTestBase {
*
* @var array
*/
public static $modules = array('comment');
public static $modules = array('node', 'comment');
public static function getInfo() {
......
......@@ -23,7 +23,7 @@ class ConfigTranslationUiTest extends WebTestBase {
*
* @var array
*/
public static $modules = array('contact', 'config_translation', 'config_translation_test', 'views', 'views_ui', 'contextual');
public static $modules = array('node', 'contact', 'config_translation', 'config_translation_test', 'views', 'views_ui', 'contextual');
/**
* Languages to enable.
......
......@@ -19,7 +19,7 @@ class ConfigTranslationViewListUiTest extends UITestBase {
*
* @var array
*/
public static $testViews = array('test_view');
public static $testViews = array('node', 'test_view');
/**
* Modules to enable.
......
......@@ -11,10 +11,7 @@ display:
position: 1
display_options:
access:
type: perm
options:
perm: 'access content'
perm: 'access user profiles'
type: none
cache:
type: none
options: { }
......
......@@ -21,7 +21,7 @@ public static function getInfo() {
);
}
public static $modules = array('field_ui', 'entity_reference');
public static $modules = array('node', 'field_ui', 'entity_reference');
public function setUp() {
parent::setUp();
......
......@@ -14,7 +14,7 @@
*/
class SelectionTest extends WebTestBase {
public static $modules = array('views', 'entity_reference', 'entity_reference_test', 'entity_test');
public static $modules = array('node', 'views', 'entity_reference', 'entity_reference_test', 'entity_test');
public static function getInfo() {
return array(
......
......@@ -32,7 +32,7 @@ abstract class FieldTestBase extends ViewTestBase {
*
* @var array
*/
public static $modules = array('field_test_views');
public static $modules = array('node', 'field_test_views');
/**
* Stores the field definitions used by the test.
......
......@@ -20,7 +20,7 @@ abstract class FileFieldTestBase extends WebTestBase {
*
* @var array
*/
public static $modules = array('file', 'file_module_test', 'field_ui');
public static $modules = array('node', 'file', 'file_module_test', 'field_ui');
protected $admin_user;
......
......@@ -36,7 +36,7 @@ public static function getInfo() {
function setUp() {
parent::setUp();
$account = $this->drupalCreateUser(array('access content'));
$account = $this->drupalCreateUser();
$this->drupalLogin($account);
$image_files = $this->drupalGetTestFiles('image');
......
......@@ -13,6 +13,14 @@
* Tests the filter format access functionality in the Filter module.
*/
class FilterFormatAccessTest extends WebTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = array('filter', 'node');
/**
* A user with administrative permissions.
*
......
......@@ -22,7 +22,7 @@ class FileDenormalizeTest extends WebTestBase {
*
* @var array
*/
public static $modules = array('hal', 'file');
public static $modules = array('hal', 'file', 'node');
public static function getInfo() {
return array(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment