mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 02:55:23 +00:00
feat: add a dump in there as well
This commit is contained in:
parent
01fef6a0a4
commit
69a2169733
@ -48,7 +48,7 @@ class InstrumentedTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
private fun testDirtyEmptyString() {
|
||||
fun testDirtyEmptyString() {
|
||||
val contacts = Contacts.newInstance(keyPair.secretKey)
|
||||
val definitelyRealId = "050000000000000000000000000000000000000000000000000000000000000000"
|
||||
val contact = contacts.getOrConstruct(definitelyRealId)
|
||||
@ -57,6 +57,7 @@ class InstrumentedTests {
|
||||
contacts.set(contact.copy(name = "test"))
|
||||
assertTrue(contacts.dirty())
|
||||
val push = contacts.push()
|
||||
contacts.dump()
|
||||
contacts.confirmPushed(push.seqNo, "abc123")
|
||||
contacts.set(contact.copy(name = "test2"))
|
||||
contacts.set(contact.copy(name = "test"))
|
||||
|
Loading…
Reference in New Issue
Block a user