This information is from the code coverage report (see http://coverage.cwgordon.com/coverage).

We need to test:

1) Confirm that the "You are not allowed to post a new blog entry." message shows up if we've submitted blog entries, then been denied that permission, and we go to the blog page.
2) View the blog page with some blog entries.
3) View the blog of a user with no blog entries as another user.
4) blog_page_last() with user access to edit own blog.

CommentFileSizeAuthor
#6 276517.patch2.58 KBchx
#4 276517.patch2.58 KBnaxoc

Comments

catch’s picture

Title: Tests needed: blog.pages.inc » TestingParty08: tests for blog pages
ksookocheff’s picture

Assigned: Unassigned » ksookocheff
ksookocheff’s picture

Assigned: ksookocheff » Unassigned
naxoc’s picture

Component: tests » blog.module
Assigned: Unassigned » naxoc
Category: bug » task
Status: Active » Needs review
StatusFileSize
new2.58 KB

I took a look at the existing code in blog.test. I think 4 is already tested, and by adding the creation of an extra node in doBasicTests() 2 is tested too.
Made a patch that adds 1 and 3 to the existing test.

chx’s picture

StatusFileSize
new2.58 KB

Reposting for the bot's sake.

calebgilbert’s picture

Status: Needs review » Reviewed & tested by the community

Tested locally 100% pass (253 passes, 0 fails, and 0 exceptions). Read through the patch code and everything seems good standards-wise. rtbc

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks!

Status: Fixed » Closed (fixed)

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