Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12137

Remove use of deprecated JUnit rule ExpectedException.none() from tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Implemented
    • Trunk
    • None
    • framework
    • None

    Description

      Test classes OfbizStartupUnitTests and DelegatorUnitTests use deprecated junit method ExpectedException.none().

      Recommendation in junit docs is to use Assert.assertThrows() instead.

      Attachments

        Activity

          People

            danwatford Daniel Watford
            danwatford Daniel Watford
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: