X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FUpdate%2FFilterHtmlUpdateTest.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FUpdate%2FFilterHtmlUpdateTest.php;h=892b279b700629316d339739efbf6d0425ab70a3;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/system/src/Tests/Update/FilterHtmlUpdateTest.php b/web/core/modules/system/src/Tests/Update/FilterHtmlUpdateTest.php new file mode 100644 index 000000000..892b279b7 --- /dev/null +++ b/web/core/modules/system/src/Tests/Update/FilterHtmlUpdateTest.php @@ -0,0 +1,50 @@ +databaseDumpFiles = [ + __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + ]; + } + + /** + * Tests system_update_8009(). + */ + public function testAllowedHtmlUpdate() { + // Make sure we have the expected values before the update. + $filters_before = [ + 'basic_html' => '