Bug #25090
closedCleanup: Replace deprecated assertType in unit tests
100%
Description
"assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface."
I'll attach a patch that replaces all assertType calls with the new assertInstanceOf or assertInternalType methods.
(issue imported from #M17657)
Files
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change I8fd91f031634e43a34ab1d3b75869452a8dd4d6a has been pushed to the review server.
It is available at http://review.typo3.org/1696
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change If068c3483225d4a21a69493a54ab2845c1f48760 has been pushed to the review server.
It is available at http://review.typo3.org/1697
Updated by Alexander Stehlik over 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset e03de7e15be4accac7ffbee385ecf43c708d058c.