Commit e738aa7c authored by catch's avatar catch

Issue #2858646 by gaurav.kapoor, TR, alexpott: Methods called with incorrect case

parent 484d80db
......@@ -194,7 +194,7 @@ public function testCommentInstallAfterContentModule() {
]);
$this->drupalLogin($this->adminUser);
// Drop default comment field added in CommentTestBase::setup().
// Drop default comment field added in CommentTestBase::setUp().
FieldStorageConfig::loadByName('node', 'comment')->delete();
if ($field_storage = FieldStorageConfig::loadByName('node', 'comment_forum')) {
$field_storage->delete();
......
......@@ -66,7 +66,7 @@ class EntityReferenceSettingsTest extends KernelTestBase {
* {@inheritdoc}
*/
protected function setUp(): void {
parent::setup();
parent::setUp();
$this->installEntitySchema('node');
$this->installEntitySchema('taxonomy_term');
......
......@@ -22,13 +22,13 @@ class ViewsEscapingTest extends ViewTestBase {
protected $defaultTheme = 'stark';
/**
* Used by WebTestBase::setup()
* Used by WebTestBase::setUp()
*
* We need theme_test for testing against test_basetheme and test_subtheme.
*
* @var array
*
* @see \Drupal\simpletest\WebTestBase::setup()
* @see \Drupal\simpletest\WebTestBase::setUp()
*/
protected static $modules = ['views', 'theme_test'];
......
......@@ -25,13 +25,13 @@ class ViewsThemeIntegrationTest extends ViewTestBase {
/**
* Used by WebTestBase::setup()
* Used by WebTestBase::setUp()
*
* We need theme_test for testing against test_basetheme and test_subtheme.
*
* @var array
*
* @see \Drupal\simpletest\WebTestBase::setup()
* @see \Drupal\simpletest\WebTestBase::setUp()
*/
protected static $modules = ['views', 'theme_test'];
......
......@@ -42,7 +42,7 @@ class CreateSampleEntityTest extends KernelTestBase {
* {@inheritdoc}
*/
protected function setUp(): void {
parent::setup();
parent::setUp();
$this->installEntitySchema('file');
$this->installEntitySchema('user');
......
......@@ -39,7 +39,7 @@ class EntityDeriverTest extends KernelTestBase {
* {@inheritdoc}
*/
protected function setUp(): void {
parent::setup();
parent::setUp();
$this->installEntitySchema('comment');
NodeType::create(['type' => 'article', 'name' => 'Article'])->save();
......
......@@ -38,7 +38,7 @@ class EntityTypedDataDefinitionTest extends KernelTestBase {
protected static $modules = ['system', 'filter', 'text', 'node', 'user'];
protected function setUp(): void {
parent::setup();
parent::setUp();
$this->typedDataManager = $this->container->get('typed_data_manager');
}
......
......@@ -27,7 +27,7 @@ class TypedDataDefinitionTest extends KernelTestBase {
protected $typedDataManager;
protected function setUp(): void {
parent::setup();
parent::setUp();
$this->typedDataManager = $this->container->get('typed_data_manager');
}
......
......@@ -41,7 +41,7 @@ class TypedDataTest extends KernelTestBase {
protected static $modules = ['system', 'field', 'file', 'user'];
protected function setUp(): void {
parent::setup();
parent::setUp();
$this->installEntitySchema('file');
$this->typedDataManager = $this->container->get('typed_data_manager');
......
Markdown is supported
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