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.

AttachmentSize
menu_default_access_callback_1.patch 3.35 KB
Testbed results
menu_default_access_callback_1.patchfailedFailed: Failed to apply patch. Detailed results

#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().

AttachmentSize
menu_default_access_callback_5.patch 3.14 KB
Testbed results
menu_default_access_callback_5.patchfailedFailed: Failed to apply patch. Detailed results

#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...

AttachmentSize
menu_default_access_callback_7.patch 2.67 KB
Testbed results
menu_default_access_callback_7.patchfailedFailed: Failed to apply patch. a href=http://testing.drupal.org/pifr/file/1/menu_default_access_callback_7.patchDetailed results/a

#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.