Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13488

Mocked service must be unbound at the end of tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.9.1
    • Fix Version/s: 5.8.0-HF06, 5.9.2
    • Component/s: Tests

      Description

      Since Mockito is statically initialized, mocked service must be unbound at the end of test. If not, then mock survive to the test and can make further test fail.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: