Bug #34466

Roles are not cleared after every test in functional tests

Added by Andreas Förthner over 3 years ago. Updated over 3 years ago.

Status:Resolved Start date:2012-03-02
Priority:Should have Due date:
Assigned To:Andreas Förthner % Done:

100%

Category:Security
Target version:TYPO3 Flow Base Distribution - 1.1
PHP Version: Complexity:
Has patch:No Affected Flow version:Git master

Description

If you do not call authenticateRoles() in one test this will not end in no roles being authenticated as expected. Instead the roles from the last test are still there.

Associated revisions

Revision 771bc9b8
Added by Andreas Förthner over 3 years ago

[BUGFIX] Fix functional testing for security features

The authenticated roles from one test have not been
cleared after the test.

Adds a safeguard for getAccount() to the security context
along the way.

Change-Id: I0abf72eefd355d290ee591f385a6227d8b990512
Releases: 1.1
Fixes: #34466

History

#1 Updated by Karsten Dambekalns over 3 years ago

  • Status changed from New to Accepted
  • Target version set to 1.1

Andi, I set this to accepted - right?

#2 Updated by Andreas Förthner over 3 years ago

Yes, have the fix already here. Will be pushed together with some content security functional tests...

#3 Updated by Gerrit Code Review over 3 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9676

#4 Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9676

#5 Updated by Gerrit Code Review over 3 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9676

#6 Updated by Gerrit Code Review over 3 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9676

#7 Updated by Gerrit Code Review over 3 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9676

#8 Updated by Gerrit Code Review over 3 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9676

#9 Updated by Gerrit Code Review over 3 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9676

#10 Updated by Andreas Förthner over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF