Blog module test

solotandem - March 31, 2008 - 00:22
Project:SimpleTest
Version:7.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:solotandem
Status:closed
Description

Here is a test for the blog module.

I found the following issues:

1) In checking the breadcrumbs, I used assertText and noticed that html entities are not converted to plain text.
For example, the apostrophe ([user name]'s blog) needs to be asserted as the html entity #039.
Is this intended or do we want to have these characters converted?

2) The statement

<?php
$this
->drupalGet('admin/help/blog');
?>
does not take you to the blog specific help, but only to the help contents page.

AttachmentSize
blog.test6.79 KB

#1

boombatower - March 31, 2008 - 01:49
Status:patch (code needs review)» fixed

Committed.

Looks great. Nice work.

In response to your two issues, I will have chx and webchick see what they think. Anyone else is free to comment.

#2

solotandem - April 1, 2008 - 20:16
Status:fixed» patch (code needs review)

The attached patch eliminates the unused $user variable from the verifyBlogs function and tidies up a couple of comments.

AttachmentSize
blog.test6.79 KB

#3

boombatower - April 1, 2008 - 22:21
Status:patch (code needs review)» fixed

Committed.

Thanks for the follow up.

#4

solotandem - April 14, 2008 - 17:30
Status:fixed» patch (code needs review)

Revision needed due to recent core change of the delta column from numeric to alpha.

AttachmentSize
blog_delta_chg.patch709 bytes

#5

boombatower - April 14, 2008 - 19:37
Status:patch (code needs review)» fixed

Committed

#6

Anonymous (not verified) - April 28, 2008 - 19:42
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.