Bug #52813

Better mocking in BackendUtility::viewOnClick test

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:6.2.0
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 dc623625
Added by Christian Kuhn almost 2 years ago

[BUGFIX] Better mocking in BackendUtility::viewOnClick test

BackendUtility::viewOnClick() provides a hook to manipulate the
generated URL. ext:workspaces uses this. The patch adapts a
viewOnClick() test to unset possible registered hooks and prevents
unrelated code from messing with the test.

Change-Id: I4977575446bf898224583010ae7a2d34e145e147
Resolves: #52813
Releases: 6.2
Reviewed-on: https://review.typo3.org/24748
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

History

#1 Updated by Christian Kuhn almost 2 years ago

  • Subject changed from Better mocking in BackendUtility::viewOnClick to Better mocking in BackendUtility::viewOnClick test

#2 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/24748

#3 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