X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Ffilter%2Ftests%2Fsrc%2FKernel%2FFilterAPITest.php;fp=web%2Fcore%2Fmodules%2Ffilter%2Ftests%2Fsrc%2FKernel%2FFilterAPITest.php;h=f74edbbcac8607da389772ef52f6cd39e935d7fb;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=2203bbec1f99cfca54d322b7d1b0b0d333591df3;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/web/core/modules/filter/tests/src/Kernel/FilterAPITest.php b/web/core/modules/filter/tests/src/Kernel/FilterAPITest.php index 2203bbec1..f74edbbca 100644 --- a/web/core/modules/filter/tests/src/Kernel/FilterAPITest.php +++ b/web/core/modules/filter/tests/src/Kernel/FilterAPITest.php @@ -124,7 +124,8 @@ class FilterAPITest extends EntityKernelTestBase { $full_html_format = FilterFormat::load('full_html'); $this->assertIdentical( $full_html_format->getHtmlRestrictions(), - FALSE, // Every tag is allowed. + // Every tag is allowed. + FALSE, 'FilterFormatInterface::getHtmlRestrictions() works as expected for the full_html format.' ); $this->assertIdentical( @@ -141,7 +142,8 @@ class FilterAPITest extends EntityKernelTestBase { 'filter_html' => [ 'status' => 1, 'settings' => [ - 'allowed_html' => '', // Nothing is allowed. + // Nothing is allowed. + 'allowed_html' => '', ], ], ], @@ -149,7 +151,8 @@ class FilterAPITest extends EntityKernelTestBase { $stupid_filtered_html_format->save(); $this->assertIdentical( $stupid_filtered_html_format->getHtmlRestrictions(), - ['allowed' => []], // No tag is allowed. + // No tag is allowed. + ['allowed' => []], 'FilterFormatInterface::getHtmlRestrictions() works as expected for the stupid_filtered_html format.' ); $this->assertIdentical(