« Previous | Next » 

Revision 638d25cc

ID638d25cc9c09b7173f56f1e8e14d1e4f18562afd
Parent 2fa4bcd1
Child 231b691e

Added by Bastian Waidelich over 7 years ago

[BUGFIX] Disable authorization checks in functional tests

This adjusts the ``FunctionalTestCase`` base class to disable
authorization checks if the ``testableSecurityEnabled`` is not set.

Background:
If security is not enable for functional tests, the
``Security\\Context`` is not initialized. This leads to exceptions in
case the ``PolicyEnforcement`` kicks in. Because functional tests
inherit the configuration of the default contexts, this happens very
likely, especially when making use of node related privileges in Neos
sites.

Change-Id: Ie5977200368f65734a6b271357ef21306912cb62
Related: NEOS-5
Releases: master, 3.0

  • added
  • modified
  • copied
  • renamed
  • deleted