Help module test

solotandem - April 4, 2008 - 02:49
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 help module.

I found the following issue:

Initially, as part of the test, I called drupalModuleEnable on the blog and poll modules. Similarly to the blog test, the asserts fail for these two modules because drupalGet returns the 'admin/help' node instead of the respective module help node. If I comment out the two module enable statements, the test works. Is this somehow related to loading these two modules during the test and/or the logged in user not having sufficient privilege?

AttachmentSize
help.test2.62 KB

#1

boombatower - April 4, 2008 - 23:01
Status:patch (code needs review)» fixed

Committed.

Once again nice work.

-- Please assign this task to yourself for records.

#2

solotandem - April 5, 2008 - 18:36
Assigned to:Anonymous» solotandem

#3

Anonymous (not verified) - April 19, 2008 - 18:41
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.