diff --git a/lib/tests/htmlpurifier_test.php b/lib/tests/htmlpurifier_test.php index e2924af2968..7d7c87aec43 100644 --- a/lib/tests/htmlpurifier_test.php +++ b/lib/tests/htmlpurifier_test.php @@ -448,7 +448,7 @@ class core_htmlpurifier_testcase extends basic_testcase { 'No tasty jams for you.' . '' . '' - ]) + $generatetestcases('Video with invalid crossorigin', $videoattrs, [ + ]) + ['Video with invalid crossorigin' => [ '', @@ -457,7 +457,7 @@ class core_htmlpurifier_testcase extends basic_testcase { 'Oh, that\'s pretty bad 😦' . '' . '' - ]) + $generatetestcases('Audio with invalid crossorigin', $audioattrs, [ + ]] + ['Audio with invalid crossorigin' => [ '', @@ -466,6 +466,19 @@ class core_htmlpurifier_testcase extends basic_testcase { 'nyemnyemnyem' . '' . '' - ]); + ]] + ['Other attributes' => [ + '', + '