[ 
https://issues.apache.org/jira/browse/JAMES-2920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16950856#comment-16950856
 ] 

René Cordier commented on JAMES-2920:
-------------------------------------

PR : https://github.com/linagora/james-project/pull/2762

> No longer rely on mocks in ElasticSearchListeningMessageSearchIndexTest
> -----------------------------------------------------------------------
>
>                 Key: JAMES-2920
>                 URL: https://issues.apache.org/jira/browse/JAMES-2920
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: René Cordier
>            Priority: Minor
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to