TestingParty08: menu access callback default need a test

chx - August 17, 2008 - 08:10
Project:Drupal
Version:7.x-dev
Component:menu system
Category:task
Priority:critical
Assigned:Unassigned
Status:duplicate
Description

Define a menu item without an access callback and with a permission as the access argument. Check that users with that permission can access the page and without it can't access.

#1

mikey_p - October 12, 2008 - 21:52
Status:active» needs review

(trying to think of something witty to say for my first test)

After this, we should rename hook_menu.module to reflect the standards for mock module names. See #320363: Rename mock modules.

AttachmentSizeStatusTest resultOperations
menu_default_access_callback_1.patch3.35 KBIdleFailed: Failed to apply patch.View details | Re-test

#2

System Message - November 16, 2008 - 21:50
Status:needs review» needs work

The last submitted patch failed testing.

#3

lilou - November 17, 2008 - 14:16

#4

catch - November 19, 2008 - 01:18
Category:bug report» task
Status:needs review» needs work

We no longer have phpdoc for setUp(), getInfo() or tearDown()
http://drupal.org/node/325974

#5

mikey_p - November 24, 2008 - 21:22
Status:needs work» needs review

No more comments for getInfo(), setUp().

AttachmentSizeStatusTest resultOperations
menu_default_access_callback_5.patch3.14 KBIdleFailed: Failed to apply patch.View details | Re-test

#6

catch - January 11, 2009 - 17:35
Component:tests» menu system
Status:needs review» needs work

No longer applies - hook_menu.module is now menu_test.module

#7

mikey_p - January 12, 2009 - 08:44
Status:needs work» needs review

Doh, I filed the issue to rename the mock module!

Try again...

AttachmentSizeStatusTest resultOperations
menu_default_access_callback_7.patch2.67 KBIdleFailed: Failed to apply patch.View details | Re-test

#8

System Message - January 15, 2009 - 08:45
Status:needs review» needs work

The last submitted patch failed testing.

#9

mikey_p - January 16, 2009 - 16:34
Status:needs work» needs review

retest

#10

System Message - February 5, 2009 - 07:55
Status:needs review» needs work

The last submitted patch failed testing.

#11

bradfordcp - April 21, 2009 - 01:41
Status:needs work» duplicate

Duplicate of #296292: TestingParty08: menu access callbacks need a test

Code from mikey_p has been rolled in there....

 
 

Drupal is a registered trademark of Dries Buytaert.