comment/system tests failing due to invalid permissions

catch - June 9, 2008 - 14:24
Project:Drupal
Version:7.x-dev
Component:tests
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

comment.test had an invalid permission for 'create story content' - this seems to have not been caught until the invalid permissions checking was in, now it causes 84 failures.

AttachmentSizeStatusTest resultOperations
comment.test934 bytesIgnoredNoneNone

#1

flobruit - June 9, 2008 - 16:13
Status:needs review» reviewed & tested by the community

This works. Changing "story" to "article" fixes all of the 84 failures.

#2

catch - June 9, 2008 - 16:23
Title:comment.test fails» comment/system tests failing due to invalid permissions

Found a similar problem in system.module (additional 'access statistics' permission when statistics module was neither enabled nor required for the test). Updated patch, leaving RTBC since this is very trivial.

AttachmentSizeStatusTest resultOperations
permissions.patch1.66 KBIgnoredNoneNone

#3

Dries - June 9, 2008 - 16:34
Status:reviewed & tested by the community» fixed

Committed to CVS HEAD. Thanks catch.

#4

Anonymous (not verified) - June 23, 2008 - 16:43
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.