You are here

public static function NodeTitleXSSTestCase::getInfo in Drupal 7

File

modules/node/node.test, line 784
Tests for node.module.

Class

NodeTitleXSSTestCase
Tests XSS functionality with a node entity.

Code

public static function getInfo() {
  return array(
    'name' => 'Node title XSS filtering',
    'description' => 'Create a node with dangerous tags in its title and test that they are escaped.',
    'group' => 'Node',
  );
}