Support for configured test devices with hardcoded verification.

Closes #40

// FREEBIE
This commit is contained in:
Moxie Marlinspike
2015-05-13 14:34:06 -07:00
parent c6810d7460
commit 6363be81e0
5 changed files with 65 additions and 6 deletions

View File

@@ -22,6 +22,8 @@ import org.whispersystems.textsecuregcm.tests.util.AuthHelper;
import javax.ws.rs.core.MediaType;
import java.util.HashMap;
import io.dropwizard.testing.junit.ResourceTestRule;
import static org.fest.assertions.api.Assertions.assertThat;
import static org.mockito.Matchers.anyString;
@@ -49,7 +51,8 @@ public class AccountControllerTest {
smsSender,
storedMessages,
timeProvider,
Optional.of(authorizationKey)))
Optional.of(authorizationKey),
new HashMap<String, Integer>()))
.build();