mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-27 09:50:01 +00:00
committed by
Moxie Marlinspike
parent
36426a74c1
commit
487f8cbb38
@@ -1,7 +1,5 @@
|
||||
package org.thoughtcrime.securesms.jobs;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.thoughtcrime.securesms.BaseUnitTest;
|
||||
@@ -19,7 +17,7 @@ public class AttachmentDownloadJobTest extends BaseUnitTest {
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
super.setUp();
|
||||
job = new AttachmentDownloadJob(mock(Context.class), 1L, new AttachmentId(1L, 1L));
|
||||
job = new AttachmentDownloadJob(context, 1L, new AttachmentId(1L, 1L));
|
||||
}
|
||||
|
||||
@Test(expected = InvalidPartException.class)
|
||||
|
||||
Reference in New Issue
Block a user