Download & Extend

TestingParty08: 403 page needs a test

Project:Drupal core
Version:7.x-dev
Component:tests
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Set a 403 page and check that it appears. Assert that blocks and tabs do not appear.

Comments

#1

Hang on - blocks *do* appear on 403 pages. Are you saying this is a bug?

#2

Sorry I was mistaken. 404 pages do not have blocks. 403 have.

#3

Status:active» needs review

403 functionality, copied most of 404 patch, easy :)

AttachmentSizeStatusTest resultOperations
403_functionality_test.patch2.36 KBIgnored: Check issue status.NoneNone

#4

Status:needs review» needs work

Copied it a little too much, the function needs renaming to something more accurate than pageNotFound() ;)

#5

Status:needs work» needs review

Ah crap! Fixed that :)

AttachmentSizeStatusTest resultOperations
403_functionality_test.patch2.36 KBIgnored: Check issue status.NoneNone

#6

Status:needs review» reviewed & tested by the community

Didn't apply for some reason due to whitespace changes in HEAD, otherwise RTBC. I've re-rolled for whitespace only, so please don't credit on commit.

#7

And the patch.

AttachmentSizeStatusTest resultOperations
403test.patch2.44 KBIgnored: Check issue status.NoneNone

#8

Patch still applies.

Is this issue is a duplicate of this one : #316186: Test for Custom Access Denied ?

#9

Status:reviewed & tested by the community» fixed

Committed! Thanks. :)

#10

Status:fixed» closed (fixed)

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

nobody click here