From 69a2169733b02dfbda36d9dd00e6a7aec3b50e21 Mon Sep 17 00:00:00 2001 From: 0x330a <92654767+0x330a@users.noreply.github.com> Date: Tue, 23 May 2023 17:50:15 +1000 Subject: [PATCH] feat: add a dump in there as well --- .../loki/messenger/libsession_util/InstrumentedTests.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libsession-util/src/androidTest/java/network/loki/messenger/libsession_util/InstrumentedTests.kt b/libsession-util/src/androidTest/java/network/loki/messenger/libsession_util/InstrumentedTests.kt index dcb64bafae..2d1bd37290 100644 --- a/libsession-util/src/androidTest/java/network/loki/messenger/libsession_util/InstrumentedTests.kt +++ b/libsession-util/src/androidTest/java/network/loki/messenger/libsession_util/InstrumentedTests.kt @@ -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"))