mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-06-12 00:55:42 +02:00
Refactor attachment creation to use injection.
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ public class AttachmentRetrieverTest extends BrambleMockTestCase {
|
||||
private final MessagingManager messagingManager =
|
||||
context.mock(MessagingManager.class);
|
||||
private final ImageHelper imageHelper = context.mock(ImageHelper.class);
|
||||
private final AttachmentRetriever retriever = new AttachmentRetriever(
|
||||
private final AttachmentRetriever retriever = new AttachmentRetrieverImpl(
|
||||
messagingManager,
|
||||
dimensions,
|
||||
imageHelper
|
||||
|
||||
Reference in New Issue
Block a user