Bug #52819

Better mocking in FormProtection tests

Added by Christian Kuhn almost 2 years ago. Updated almost 2 years ago.

Status:Resolved Start date:2013-10-14
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:Unit/Functional Tests Spent time: -
Target version:next-patchlevel
TYPO3 Version:6.2 Is Regression:No
PHP Version:5.4 Sprint Focus:
Complexity:easy

Related issues

related to Core - Task #51436: Standalone unit test runner Resolved 2014-02-10

Associated revisions

Revision 8da0e323
Added by Christian Kuhn almost 2 years ago

[BUGFIX] Better mocking in FormProtection tests

Some FormProtection tests rely on an instantiated BE_USER object.
The patch takes care of proper mocking in this case and removes
the BE_USER instantiation from unit test bootstrap.

Change-Id: I85005db863bab10ccd61eb910153733b82e2b65e
Resolves: #52819
Releases: 6.2
Reviewed-on: https://review.typo3.org/24750
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

History

#1 Updated by Gerrit Code Review almost 2 years ago

  • Status changed from New to Under Review

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

#2 Updated by Christian Kuhn almost 2 years ago

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

Also available in: Atom PDF