-
-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 Original-Commit-Hash: 638d25cc9c09b7173f56f1e8e14d1e4f18562afd
- Loading branch information
Bastian Waidelich
committed
Apr 24, 2015
1 parent
0b057c9
commit b9c89e3
Showing
2 changed files
with
29 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters