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:
contextual/src/Tests/ContextualUnitTest.php:use Drupal\simpletest\DrupalUnitTestBase;

Comments

mitrpaka’s picture

Title: [META] Replace extend of deprecated DrupalUnitTestBase with KernelTestBase in Contextual » Replace extend of deprecated DrupalUnitTestBase with KernelTestBase in Contextual
mitrpaka’s picture

Status: Active » Needs review
StatusFileSize
new697 bytes
wim leers’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Quick fix

Thanks!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 42ceeca and pushed to 8.0.x. Thanks!

  • alexpott committed 42ceeca on 8.0.x
    Issue #2350301 by mitrpaka: Replace extend of deprecated...

Status: Fixed » Closed (fixed)

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