mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 00:37:47 +00:00
String should not be compared with an Optional in DeliveryReceiptJobTest.testDelivery().
Closes #2713 // FREEBIE
This commit is contained in:
parent
e0737451db
commit
a625727853
@ -39,7 +39,7 @@ public class DeliveryReceiptJobTest extends TextSecureTestCase {
|
||||
ArgumentCaptor<TextSecureAddress> captor = ArgumentCaptor.forClass(TextSecureAddress.class);
|
||||
verify(textSecureMessageSender).sendDeliveryReceipt(captor.capture(), eq(timestamp));
|
||||
|
||||
assertTrue(captor.getValue().getRelay().equals("foo"));
|
||||
assertTrue(captor.getValue().getRelay().get().equals("foo"));
|
||||
assertTrue(captor.getValue().getNumber().equals("+14152222222"));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user