mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-25 20:23:19 +00:00
Remove PNP flag checks in some areas.
This commit is contained in:
committed by
Alex Hart
parent
eb6394eb6a
commit
588a6cf74f
@@ -381,7 +381,7 @@ class ContactRecordProcessorTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `merge, pnpDisabled, pniDropped`() {
|
||||
fun `merge, pnpDisabled, pniNotDropped`() {
|
||||
// GIVEN
|
||||
val subject = ContactRecordProcessor(ACI_A, PNI_A, E164_A, recipientTable)
|
||||
|
||||
@@ -411,7 +411,7 @@ class ContactRecordProcessorTest {
|
||||
// THEN
|
||||
assertEquals(remote.aci, result.aci)
|
||||
assertEquals(remote.number.get(), result.number.get())
|
||||
assertEquals(false, result.pni.isPresent)
|
||||
assertEquals(true, result.pni.isPresent)
|
||||
}
|
||||
|
||||
private fun buildRecord(id: StorageId = STORAGE_ID_A, record: ContactRecord): SignalContactRecord {
|
||||
|
||||
Reference in New Issue
Block a user