From a24a6c2bba2d15ab835e0b0fce9354bb6fb16c5b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 24 May 2009 17:39:35 +0000 Subject: - Patch #471070 by stella: millions of code style fixes. --- modules/node/node.test | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/node/node.test') diff --git a/modules/node/node.test b/modules/node/node.test index af4de828c..1e6d57e1e 100644 --- a/modules/node/node.test +++ b/modules/node/node.test @@ -505,7 +505,7 @@ class PageViewTestCase extends DrupalWebTestCase { class NodeTitleXSSTestCase extends DrupalWebTestCase { public static function getInfo() { - return array( + return array( 'name' => t('Node title XSS filtering'), 'description' => t('Create a node with dangerous tags in its title and test that they are escaped.'), 'group' => t('Node'), @@ -631,7 +631,7 @@ class NodePostSettingsTestCase extends DrupalWebTestCase { /** * Ensure that data added to nodes by other modules appears in RSS feeds. - * + * * Create a node, enable the node_test module to ensure that extra data is * added to the node->content array, then verify that the data appears on the * sitewide RSS feed at rss.xml. @@ -688,7 +688,7 @@ class NodeRSSContentTestCase extends DrupalWebTestCase { * Test case to check node save related functionality, including import-save */ class NodeSaveTestCase extends DrupalWebTestCase { - + public static function getInfo() { return array( 'name' => t('Node save'), @@ -707,7 +707,7 @@ class NodeSaveTestCase extends DrupalWebTestCase { /** * Import test, to check if custom node ids are saved properly. - * Workflow: + * Workflow: * - first create a piece of content * - save the content * - check if node exists @@ -716,7 +716,7 @@ class NodeSaveTestCase extends DrupalWebTestCase { // Node ID must be a number that is not in the database. $max_nid = db_result(db_query('SELECT MAX(nid) FROM {node}')); $test_nid = $max_nid + mt_rand(1000, 1000000); - $title = $this->randomName(8); + $title = $this->randomName(8); $node = array( 'title' => $title, 'body' => $this->randomName(32), -- cgit v1.2.3