Skip to content

Commit 4c566e3

Browse files
committed
refactor(test): update tests for Kotlin conversion of AutocryptHeaderParser and AutocryptGossipHeaderParser
1 parent d946594 commit 4c566e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

legacy/core/src/test/java/com/fsck/k9/autocrypt/AutocryptGossipHeaderParserTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import org.junit.Test
1818

1919
class AutocryptGossipHeaderParserTest {
2020

21-
private val autocryptGossipHeaderParser = AutocryptGossipHeaderParser.getInstance()
21+
private val autocryptGossipHeaderParser = AutocryptGossipHeaderParser.Companion.instance
2222

2323
@Before
2424
fun setUp() {

legacy/core/src/test/java/com/fsck/k9/autocrypt/AutocryptHeaderParserTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121

2222
public class AutocryptHeaderParserTest extends RobolectricTest {
23-
AutocryptHeaderParser autocryptHeaderParser = AutocryptHeaderParser.getInstance();
23+
AutocryptHeaderParser autocryptHeaderParser = AutocryptHeaderParser.Companion.getInstance();
2424

2525
@Before
2626
public void setUp() throws Exception {

0 commit comments

Comments
 (0)