Bug #36684

Fixes for functional security tests break custom tests

Added by Karsten Dambekalns over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Category:
- Testing -
Start date:
2012-04-28
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

In FunctionalTestCase.php the line $this->securityContext->refreshTokens(); causes severe problems for Christopher Hlubek's tests that deal with security. That line was added in https://review.typo3.org/9676 to fix #34466.

I tested without that line and indeed all functional security tests in FLOW3 still pass, if the exception expectation in MethodSecurityTest is again changed from AuthenticationRequiredException to AuthenticationRequiredException.

Christopher: how do your tests fail? Maybe you also have the same wrong expectation?

Also available in: Atom PDF