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.
*/
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | core-views-ViewUnitTestBase-extends-deprecated-base-class-2347893-3.patch | 748 bytes | mitrpaka |
| #1 | core-views-ViewUnitTestBase-extends-deprecated-base-class-2347893-1.patch | 480 bytes | mitrpaka |
Comments
Comment #1
mitrpaka commentedSimple patch attached to replace deprecated DrupalUnitTestBase with KernelTestBase.
Comment #3
mitrpaka commentedImport of proper class added.
Comment #4
slv_ commentedPatch looks ok to me.
Comment #5
oenie commentedfixing the amsterdam sprint tag to amsterdam2014
Comment #6
mitrpaka commentedComment #7
alexpottCommitted cdc6eeb and pushed to 8.0.x. Thanks!