summaryrefslogtreecommitdiff
path: root/modules/node/node.test
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-05-24 17:39:35 +0000
committerDries Buytaert <dries@buytaert.net>2009-05-24 17:39:35 +0000
commita24a6c2bba2d15ab835e0b0fce9354bb6fb16c5b (patch)
tree9194465a044c0fdad447eba2906f0472a4dff515 /modules/node/node.test
parenta5f42fd007bf3646261b431c52cde53657e21564 (diff)
downloadbrdo-a24a6c2bba2d15ab835e0b0fce9354bb6fb16c5b.tar.gz
brdo-a24a6c2bba2d15ab835e0b0fce9354bb6fb16c5b.tar.bz2
- Patch #471070 by stella: millions of code style fixes.
Diffstat (limited to 'modules/node/node.test')
-rw-r--r--modules/node/node.test10
1 files changed, 5 insertions, 5 deletions
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),