diff --git a/core/modules/filter/tests/src/Functional/FilterAdminTest.php b/core/modules/filter/tests/src/Functional/FilterAdminTest.php index fb5cf09..9bfa677 100644 --- a/core/modules/filter/tests/src/Functional/FilterAdminTest.php +++ b/core/modules/filter/tests/src/Functional/FilterAdminTest.php @@ -53,7 +53,7 @@ protected function setUp() { 'filter_html' => [ 'status' => 1, 'settings' => [ - 'allowed_html' => [ + 'allowed_html_elements' => [ 'p' => [], 'br' => [], 'strong' => [], @@ -73,7 +73,7 @@ protected function setUp() { 'status' => TRUE, 'weight' => -10, 'settings' => [ - 'allowed_html' => [ + 'allowed_html_elements' => [ 'p' => [], 'br' => [], 'strong' => [], diff --git a/core/modules/filter/tests/src/Functional/FilterHtmlImageSecureTest.php b/core/modules/filter/tests/src/Functional/FilterHtmlImageSecureTest.php index 2b4075b..546ed82 100644 --- a/core/modules/filter/tests/src/Functional/FilterHtmlImageSecureTest.php +++ b/core/modules/filter/tests/src/Functional/FilterHtmlImageSecureTest.php @@ -43,7 +43,7 @@ protected function setUp() { 'filter_html' => [ 'status' => 1, 'settings' => [ - 'allowed_html' => [ + 'allowed_html_elements' => [ 'img' => [ 'src' => '*', 'testattribute' => '*', diff --git a/core/modules/filter/tests/src/Kernel/FilterLegacyConfigFormatTest.php b/core/modules/filter/tests/src/Kernel/FilterLegacyConfigFormatTest.php index 8ddbf28..4ddd354 100644 --- a/core/modules/filter/tests/src/Kernel/FilterLegacyConfigFormatTest.php +++ b/core/modules/filter/tests/src/Kernel/FilterLegacyConfigFormatTest.php @@ -3,7 +3,7 @@ namespace Drupal\Tests\filter\Kernel; use Drupal\filter\Entity\FilterFormat; -use Drupal\Tests\token\Kernel\KernelTestBase; +use Drupal\KernelTests\KernelTestBase; /** * Test the legacy allowed_html format config BC. diff --git a/core/modules/filter/tests/src/Kernel/Plugin/migrate/process/FilterSettingsTest.php b/core/modules/filter/tests/src/Kernel/Plugin/migrate/process/FilterSettingsTest.php index e34c7ce..4250211 100644 --- a/core/modules/filter/tests/src/Kernel/Plugin/migrate/process/FilterSettingsTest.php +++ b/core/modules/filter/tests/src/Kernel/Plugin/migrate/process/FilterSettingsTest.php @@ -93,27 +93,7 @@ public function dataProvider() { ], 'filter_html', [ - 'allowed_html' => [ - 'a' => [ - 'href' => '*', - 'hreflang' => '*', - ], - 'em' => [], - 'strong' => [], - 'cite' => [], - 'code' => [], - 'ul' => [ - 'type' => '*', - ], - 'ol' => [ - 'start' => '*', - 'type' => '*', - ], - 'li' => [], - 'dl' => [], - 'dt' => [], - 'dd' => [], - ], + 'allowed_html' => '
    1. ', ], ], ]; diff --git a/core/modules/rest/tests/src/Functional/EntityResource/Editor/EditorResourceTestBase.php b/core/modules/rest/tests/src/Functional/EntityResource/Editor/EditorResourceTestBase.php index d19c703..d920442 100644 --- a/core/modules/rest/tests/src/Functional/EntityResource/Editor/EditorResourceTestBase.php +++ b/core/modules/rest/tests/src/Functional/EntityResource/Editor/EditorResourceTestBase.php @@ -48,7 +48,7 @@ protected function createEntity() { 'filter_html' => [ 'status' => TRUE, 'settings' => [ - 'allowed_html' => [ + 'allowed_html_elements' => [ 'p' => [], 'a' => [], 'b' => [], diff --git a/core/modules/rest/tests/src/Functional/EntityResource/FilterFormat/FilterFormatResourceTestBase.php b/core/modules/rest/tests/src/Functional/EntityResource/FilterFormat/FilterFormatResourceTestBase.php index 5772343..3b451bb 100644 --- a/core/modules/rest/tests/src/Functional/EntityResource/FilterFormat/FilterFormatResourceTestBase.php +++ b/core/modules/rest/tests/src/Functional/EntityResource/FilterFormat/FilterFormatResourceTestBase.php @@ -41,7 +41,7 @@ protected function createEntity() { 'filter_html' => [ 'status' => TRUE, 'settings' => [ - 'allowed_html' => [ + 'allowed_html_elements' => [ 'p' => [], 'a' => [], 'b' => [],