diff --git a/amethyst/src/test/java/com/vitorpamplona/amethyst/ui/actions/NewPostViewModelTest.kt b/amethyst/src/test/java/com/vitorpamplona/amethyst/ui/actions/NewPostViewModelTest.kt index 76053df108..a6164b5d3f 100644 --- a/amethyst/src/test/java/com/vitorpamplona/amethyst/ui/actions/NewPostViewModelTest.kt +++ b/amethyst/src/test/java/com/vitorpamplona/amethyst/ui/actions/NewPostViewModelTest.kt @@ -24,6 +24,7 @@ import com.vitorpamplona.amethyst.model.Account import com.vitorpamplona.amethyst.model.LocalCache import com.vitorpamplona.amethyst.model.Note import com.vitorpamplona.amethyst.model.User +import com.vitorpamplona.amethyst.model.nip30CustomEmojis.EmojiPackState.EmojiMedia import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel import com.vitorpamplona.quartz.nip01Core.core.HexKey import com.vitorpamplona.quartz.nip01Core.tags.people.PTag @@ -77,7 +78,7 @@ class NewPostViewModelTest { every { accountViewModel.userProfile() } returns mockk(relaxed = true) every { accountViewModel.account.userProfile() } returns mockk(relaxed = true) - every { accountViewModel.account.myEmojis } returns mockk>>(relaxed = true) + every { accountViewModel.account.emoji.myEmojis } returns mockk>>(relaxed = true) // Act: Call load with mentions newPostViewModelUnderTest.init(accountViewModel)