Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
blog.module
Priority:
Critical
Category:
Task
Assigned:
Reporter:
Created:
30 Jun 2008 at 00:27 UTC
Updated:
22 May 2009 at 12:30 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 276517.patch | 2.58 KB | chx |
| #4 | 276517.patch | 2.58 KB | naxoc |
Comments
Comment #1
catchComment #2
ksookocheff commentedComment #3
ksookocheff commentedComment #4
naxoc commentedI 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.
Comment #6
chx commentedReposting for the bot's sake.
Comment #7
calebgilbert commentedTested locally 100% pass (253 passes, 0 fails, and 0 exceptions). Read through the patch code and everything seems good standards-wise. rtbc
Comment #8
dries commentedCommitted to CVS HEAD. Thanks!