diff options
Diffstat (limited to 'modules/blogapi')
-rw-r--r-- | modules/blogapi/blogapi.test | 4 |
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); |