diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-12-30 16:43:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-12-30 16:43:20 +0000 |
commit | 92a8adea653b29a9e6ee7778e8628f57b959ca4f (patch) | |
tree | 0fd5b18555aff73bfe4bc5aa3479db3090ad4cf8 /modules/blogapi | |
parent | cac5dd8a66a07887aca4c4730d56978eaf26c70b (diff) | |
download | brdo-92a8adea653b29a9e6ee7778e8628f57b959ca4f.tar.gz brdo-92a8adea653b29a9e6ee7778e8628f57b959ca4f.tar.bz2 |
- Patch #352470 by scor: fixed typos and grammar in comments.
Diffstat (limited to 'modules/blogapi')
-rw-r--r-- | modules/blogapi/blogapi.module | 2 | ||||
-rw-r--r-- | modules/blogapi/blogapi.test | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index 1ad44a19d..540c12a55 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -831,7 +831,7 @@ function blogapi_menu() { } /** - * Implementaton of hook_init(). + * Implementation of hook_init(). */ function blogapi_init() { if (drupal_is_front_page()) { diff --git a/modules/blogapi/blogapi.test b/modules/blogapi/blogapi.test index f0156ce16..14242d122 100644 --- a/modules/blogapi/blogapi.test +++ b/modules/blogapi/blogapi.test @@ -19,7 +19,7 @@ class BlogAPITestCase extends DrupalWebTestCase { */ function testBlogAPI() { global $base_url; - // Create admin user and taxononmy for later use. + // Create admin user and taxonomy for later use. $admin_user = $this->drupalCreateUser(array('administer taxonomy')); $this->drupalLogin($admin_user); $vid = $this->addVocabulary('simpletest_vocab'); @@ -53,7 +53,7 @@ class BlogAPITestCase extends DrupalWebTestCase { // Check recent posts. $result = xmlrpc($local, 'blogger.getRecentPosts', $appid, $blog_id, $web_user->name, $web_user->pass_raw, 5); - $this->assertTrue($result, t('Recent post list retreived.')); + $this->assertTrue($result, t('Recent post list retrieved.')); if ($result !== FALSE && array_key_exists('title', $result[0])) { $this->assertEqual($content, $result[0]['title'], t('Post found.')); @@ -89,7 +89,7 @@ class BlogAPITestCase extends DrupalWebTestCase { // Get post categories. $result = xmlrpc($local, 'mt.getPostCategories', $nid, $web_user->name, $web_user->pass_raw); - $this->assertTrue($result, t('Category list successfully retreived.')); + $this->assertTrue($result, t('Category list successfully retrieved.')); if ($result !== FALSE && array_key_exists('categoryId', $result[0])) { $this->assertEqual($term, $result[0]['categoryId'], t('Category list verified.')); @@ -134,8 +134,9 @@ class BlogAPITestCase extends DrupalWebTestCase { * * @param integer $vid * Vocabulary ID. - * @param string $term Term name. - * @return interger + * @param string $term + * Term name. + * @return integer * The Term ID. */ function addTerm($vid, $term) { |