summaryrefslogtreecommitdiff
path: root/modules/blogapi
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-05-30 07:30:53 +0000
committerDries Buytaert <dries@buytaert.net>2008-05-30 07:30:53 +0000
commitc6c26b5e230b5225ea8a355b6e7a7b31096f7cb3 (patch)
tree18f49ddd773f033ed75eba1fa70dc55de1952f55 /modules/blogapi
parentbc5f69a333af204f8e6c6494d85c96b2da1e1c51 (diff)
downloadbrdo-c6c26b5e230b5225ea8a355b6e7a7b31096f7cb3.tar.gz
brdo-c6c26b5e230b5225ea8a355b6e7a7b31096f7cb3.tar.bz2
- Patch #247423 by boombatower: code style fixes for the tests.
Diffstat (limited to 'modules/blogapi')
-rw-r--r--modules/blogapi/blogapi.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blogapi/blogapi.test b/modules/blogapi/blogapi.test
index 0f7770d41..cd0475433 100644
--- a/modules/blogapi/blogapi.test
+++ b/modules/blogapi/blogapi.test
@@ -75,7 +75,7 @@ class BlogAPITestCase extends DrupalWebTestCase {
$file = current($this->drupalGetTestFiles('text'));
$file_contents = file_get_contents($file->filename);
$file = array();
- $file['name'] = $this->randomName() .'.txt';
+ $file['name'] = $this->randomName() . '.txt';
$file['type'] = 'text';
$file['bits'] = xmlrpc_base64($file_contents);
$result = xmlrpc($local, 'metaWeblog.newMediaObject', $blog_id, $web_user->name, $web_user->pass_raw, $file);
@@ -146,7 +146,7 @@ class BlogAPITestCase extends DrupalWebTestCase {
function addTerm($vid, $term) {
$edit = array();
$edit['name'] = $term;
- $this->drupalPost('admin/content/taxonomy/'. $vid .'/add/term', $edit, t('Save'));
+ $this->drupalPost('admin/content/taxonomy/' . $vid . '/add/term', $edit, t('Save'));
$this->assertRaw(t('Created new term %term.', array('%term' => $edit['name'])), t('Taxonomy term added.'));
$tree = taxonomy_get_tree($vid);