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:
filter/src/Tests/FilterCrudTest.php
filter/src/Tests/FilterDefaultConfigTest.php
filter/src/Tests/FilterSettingsTest.php
filter/src/Tests/FilterUnitTest.php

Comments

mitrpaka’s picture

oenie’s picture

Was looking good, unfortunately it needed a reroll.

berdir’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 579fdc4 and pushed to 8.0.x. Thanks!

  • alexpott committed 579fdc4 on 8.0.x
    Issue #2350583 by oenie, mitrpaka: Replace extend of deprecated...

Status: Fixed » Closed (fixed)

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