[CLEANUP] Let expected exceptions test for code, not text 35/31835/2
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 25 Jul 2014 19:33:02 +0000 (21:33 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 25 Jul 2014 19:53:10 +0000 (21:53 +0200)
commitab65104e1777ff89de6f63d07be1745b8b8b8425
treeed5bbc2decead6b26e6756641d8c781c48af9aad
parentcc0d96bb06b44e830cf7f5044c82b10a6404d61a
[CLEANUP] Let expected exceptions test for code, not text

When an exception is expected in DependencyUtilityTest, the correct
exception is tested by text. The change of wording of some of those
exceptions caused the related test to fail.

Testing for the exception code instead of the text opens the
possibility to adapt display messages, while the exception code stays
unchanged and stabilizes tests against false positives.

Change-Id: Ib1365c8d7166e522690bb9f8842adc8eb27f635b
Resolves: #60583
Relates: #53572
Releases: 6.3, 6.2
Reviewed-on: http://review.typo3.org/31835
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/extensionmanager/Tests/Unit/Utility/DependencyUtilityTest.php