diff --git a/core/modules/filter/src/Tests/FilterHooksTest.php b/core/modules/filter/src/Tests/FilterHooksTest.php index 46debe0..6082f33 100644 --- a/core/modules/filter/src/Tests/FilterHooksTest.php +++ b/core/modules/filter/src/Tests/FilterHooksTest.php @@ -72,7 +72,7 @@ function testFilterHooks() { $this->drupalGet('admin/config/content/formats'); $this->clickLink('Disable'); $this->assertRaw(t('Are you sure you want to disable the text format %format?', array('%format' => $name))); - // @todo In this patch, figure out the CSRF form_token in order to submit the form. + $this->drupalPostForm(NULL, [], 'Disable'); $this->assertRaw(t('Disabled text format %format.', array('%format' => $name))); $this->assertText('hook_filter_format_disable invoked.'); }