In core\modules\views\src\Tests\ViewUnitTestBase.php:

abstract class ViewUnitTestBase extends DrupalUnitTestBase {

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

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

Comments

mitrpaka’s picture

Status: Active » Needs review
Issue tags: +#amsterdam2014
StatusFileSize
new480 bytes

Simple patch attached to replace deprecated DrupalUnitTestBase with KernelTestBase.

Status: Needs review » Needs work
mitrpaka’s picture

Status: Needs work » Needs review
StatusFileSize
new748 bytes

Import of proper class added.

slv_’s picture

Status: Needs review » Reviewed & tested by the community

Patch looks ok to me.

oenie’s picture

Issue tags: -#amsterdam2014 +Amsterdam2014

fixing the amsterdam sprint tag to amsterdam2014

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed cdc6eeb and pushed to 8.0.x. Thanks!

  • alexpott committed cdc6eeb on 8.0.x
    Issue #2347893 by mitrpaka | mikeker: Fixed ViewUnitTestBase extends...

Status: Fixed » Closed (fixed)

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