Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
simpletest.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2013 at 17:02 UTC
Updated:
29 Jul 2014 at 21:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedI tested this in the browser to ensure it didn't break the interaction there, and it still works. It now gives an exception if you try to access the global user (which it didn't before) and points you to the line where the global user is used.
Comment #3
berdir#1: 1905564-01-global-user.patch queued for re-testing.
Comment #4
berdir#1950684: Mock and protect $GLOBALS['user'] in DUTB tests changed the default global user to anonymous in DUBT tests, to enforce a common environment. I think this is no longer necessary/duplicating that effort. The fact that tests suddenly passt underlines that IMHO.