Task #89503

Use short returns in PHPUnit tests

Added by Alexander Schnitzler 28 days ago. Updated 28 days ago.

Status:
Resolved
Priority:
Should have
Category:
Tests
Target version:
-
Start date:
2019-10-24
Due date:
% Done:

100%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Associated revisions

Revision c3d8232f (diff)
Added by Alexander Schnitzler 28 days ago

[TASK] Use short returns in PHPUnit tests

Usage of PHPUnit’s mock e.g. ->will($this->returnValue(..)) must be
replaced by its shorter equivalent such as ->willReturn(...).

Releases: master
Resolves: #89503
Change-Id: I325e82f546154d1c94464bff03060b4353df6e9e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62100
Tested-by: TYPO3com <>
Tested-by: Oliver Klee <>
Tested-by: Daniel Goerz <>
Reviewed-by: Oliver Klee <>
Reviewed-by: Daniel Goerz <>

History

#1 Updated by Gerrit Code Review 28 days ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62100

#2 Updated by Anonymous 28 days ago

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

Also available in: Atom PDF