Commit 579fdc4c authored by alexpott's avatar alexpott

Issue #2350583 by oenie, mitrpaka: Replace extend of deprecated...

Issue #2350583 by oenie, mitrpaka: Replace extend of deprecated DrupalUnitTestBase with KernelTestBase in Filter.
parent c8d40950
......@@ -7,14 +7,14 @@
namespace Drupal\filter\Tests;
use Drupal\simpletest\DrupalUnitTestBase;
use Drupal\simpletest\KernelTestBase;
/**
* Tests creation, loading, updating, deleting of text formats and filters.
*
* @group filter
*/
class FilterCrudTest extends DrupalUnitTestBase {
class FilterCrudTest extends KernelTestBase {
/**
* Modules to enable.
......
......@@ -7,14 +7,14 @@
namespace Drupal\filter\Tests;
use Drupal\simpletest\DrupalUnitTestBase;
use Drupal\simpletest\KernelTestBase;
/**
* Tests text format default configuration.
*
* @group filter
*/
class FilterDefaultConfigTest extends DrupalUnitTestBase {
class FilterDefaultConfigTest extends KernelTestBase {
public static $modules = array('system', 'user', 'filter', 'filter_test', 'entity');
......
......@@ -7,14 +7,14 @@
namespace Drupal\filter\Tests;
use Drupal\simpletest\DrupalUnitTestBase;
use Drupal\simpletest\KernelTestBase;
/**
* Tests filter settings.
*
* @group filter
*/
class FilterSettingsTest extends DrupalUnitTestBase {
class FilterSettingsTest extends KernelTestBase {
/**
* Modules to enable.
......
......@@ -9,15 +9,15 @@
use Drupal\Component\Utility\Html;
use Drupal\Component\Utility\String;
use Drupal\simpletest\DrupalUnitTestBase;
use Drupal\filter\FilterPluginCollection;
use Drupal\simpletest\KernelTestBase;
/**
* Tests Filter module filters individually.
*
* @group filter
*/
class FilterUnitTest extends DrupalUnitTestBase {
class FilterUnitTest extends KernelTestBase {
/**
* Modules to enable.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment