Commit c4281e42 authored by alexpott's avatar alexpott

Issue #2539300 by cilefen, tim.plunkett: Remove SafeMarkup::set in...

Issue #2539300 by cilefen, tim.plunkett: Remove SafeMarkup::set in \Drupal\Tests\Core\Form\FormCacheTest::testSetCacheWithSafeStrings()
parent 42c26e21
......@@ -427,6 +427,8 @@ public function testSetCacheAuthUser() {
* @covers ::setCache
*/
public function testSetCacheWithSafeStrings() {
// A call to SafeMarkup::set() is appropriate in this test as a way to add a
// string to the safe list in the simplest way possible. Normally, avoid it.
SafeMarkup::set('a_safe_string');
$form_build_id = 'the_form_build_id';
$form = [
......
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