Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2920

No longer rely on mocks in ElasticSearchListeningMessageSearchIndexTest

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Mocks are a pain to maintain. We should get rid of them.

      • Remove tests asserting that "something should work"
      • Pause es containers for tests that should propagate errors
      • Provide a failing text extractor implementation for addShouldIndexEmailBodyWhenNotIndexableAttachment

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcordier René Cordier
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: