summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-07-08 03:41:27 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-07-08 03:41:27 +0000
commit8f5c296cc08ee58206d204f61fe13abbbe050baf (patch)
treedf85fe532263b63fa5a911221a138a62440cfd5a /modules/blog
parent893fba439bd0fa2d17075715a383a374ff2a4cc6 (diff)
downloadbrdo-8f5c296cc08ee58206d204f61fe13abbbe050baf.tar.gz
brdo-8f5c296cc08ee58206d204f61fe13abbbe050baf.tar.bz2
#845742 by Damien Tournoud: Make Bartik the default core theme.
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/blog.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/blog/blog.test b/modules/blog/blog.test
index e6866b985..500a9d74f 100644
--- a/modules/blog/blog.test
+++ b/modules/blog/blog.test
@@ -122,9 +122,6 @@ class BlogTestCase extends DrupalWebTestCase {
* HTTP response code.
*/
private function verifyBlogs($node_user, $node, $admin, $response = 200) {
- $crumb = '›';
- $quote = '&#039;';
-
$response2 = ($admin) ? 200 : 403;
// View blog help node.
@@ -144,7 +141,12 @@ class BlogTestCase extends DrupalWebTestCase {
$this->drupalGet('node/' . $node->nid);
$this->assertResponse(200);
$this->assertTitle($node->title . ' | Drupal', t('Blog node was displayed'));
- $this->assertText(t('Home ' . $crumb . ' Blogs ' . $crumb . ' @name' . $quote . 's blog', array('@name' => format_username($node_user))), t('Breadcrumbs were displayed'));
+ $breadcrumb = array(
+ l(t('Home'), NULL),
+ l(t('Blogs'), 'blog'),
+ l(t("!name's blog", array('!name' => format_username($node_user))), 'blog/' . $node_user->uid),
+ );
+ $this->assertRaw(theme('breadcrumb', array('breadcrumb' => $breadcrumb)), t('Breadcrumbs were displayed'));
// View blog edit node.
$this->drupalGet('node/' . $node->nid . '/edit');
@@ -176,8 +178,6 @@ class BlogTestCase extends DrupalWebTestCase {
* The logged in user.
*/
private function verifyBlogLinks($user) {
- $crumb = '›';
-
// Confirm blog entries link exists on the user page.
$this->drupalGet('user/' . $user->uid);
$this->assertResponse(200);