Actions
Bug #25090
closedCleanup: Replace deprecated assertType in unit tests
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-02-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Actions