Review TYPO3_6-2 Merged

31836[CLEANUP] Let expected exceptions test for code, not text

Christian Kuhn CR +2 V +2 Easy +6 −6 updated 07/25/14, 19:53

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1