Unverified Commit da6b4d8b authored by dpi's avatar dpi
Browse files

Issue #3040723 by dpi: Fixed entity type not being installed failing existing...

Issue #3040723 by dpi: Fixed entity type not being installed failing existing tests on Drupal core 8.7/8.8 changes
parent 7044faeb
Loading
Loading
Loading
Loading
+4
Changes for tests/src/Kernel/DateRecurFieldItemListTest.php: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?php

declare(strict_types = 1);

namespace Drupal\Tests\date_recur\Kernel;

use Drupal\Core\Field\Entity\BaseFieldOverride;
@@ -47,6 +49,8 @@ class DateRecurFieldItemListTest extends KernelTestBase {
   */
  protected function setUp() {
    parent::setUp();
    $this->installEntitySchema('entity_test');

    $field_storage = FieldStorageConfig::create([
      'entity_type' => 'entity_test',
      'field_name' => 'foo',
+3
Changes for tests/src/Kernel/DateRecurFieldTest.php: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?php

declare(strict_types = 1);

namespace Drupal\Tests\date_recur\Kernel;

use Drupal\date_recur\Plugin\Field\FieldType\DateRecurItem;
@@ -32,6 +34,7 @@ class DateRecurFieldTest extends KernelTestBase {
   */
  protected function setUp() {
    parent::setUp();
    $this->installEntitySchema('entity_test');
    $field_storage = FieldStorageConfig::create([
      'entity_type' => 'entity_test',
      'field_name' => 'foo',
+4
Changes for tests/src/Kernel/DateRecurTest.php: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?php

declare(strict_types = 1);

namespace Drupal\Tests\date_recur\Kernel;

use Drupal\date_recur\Plugin\Field\FieldType\DateRecurItem;
@@ -80,6 +82,8 @@ class DateRecurTest extends KernelTestBase {
   * Tests adding a field, setting values, reading occurrences.
   */
  public function testGetOccurrences() {
    $this->installEntitySchema('entity_test');

    $field_storage = FieldStorageConfig::create([
      'entity_type' => 'entity_test',
      'field_name' => 'abc',