Follow-up to #2350291: [META] Replace extend of deprecated DrupalUnitTestBase with KernelTestBase

Problem/Motivation

In core\modules\simpletest\src\DrupalUnitTestBase.php:

<?php
/**
 * Base class for integration tests.
 *
 * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
 *   Use \Drupal\simpletest\KernelTestBase.
 */
?>

Proposed resolution

Replace extend of deprecated DrupalUnitTestBase with KernelTestBase for the following test cases:
field/src/Tests/FieldUnitTestBase.php

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mitrpaka’s picture

swentel’s picture

Status: Needs review » Reviewed & tested by the community

Thanks!

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

  • webchick committed 2f6dff6 on 8.0.x
    Issue #2350571 by mitrpaka: Replace extend of deprecated...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.