mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +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…
Reference in New Issue
Block a user