From c6c26b5e230b5225ea8a355b6e7a7b31096f7cb3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 30 May 2008 07:30:53 +0000 Subject: - Patch #247423 by boombatower: code style fixes for the tests. --- modules/blogapi/blogapi.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/blogapi') 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); -- cgit v1.2.3