Ensure hasPremium value is set on profile (#534)

This commit is contained in:
David Perez
2024-06-20 17:08:07 +01:00
committed by Álison Fernandes
parent ab5ea4ebaa
commit 0ee25a3dd5
3 changed files with 8 additions and 4 deletions
@@ -83,6 +83,8 @@ class UserStateJsonExtensionsTest {
every { id } returns "activeUserId"
every { avatarColor } returns "avatarColor"
every { securityStamp } returns "securityStamp"
every { isPremium } returns true
every { isPremiumFromOrganization } returns true
}
},
),
@@ -2121,7 +2121,7 @@ private val MOCK_PROFILE = AccountJson.Profile(
stamp = null,
organizationId = null,
avatarColorHex = null,
hasPremium = true,
hasPremium = false,
forcePasswordResetReason = null,
kdfType = null,
kdfIterations = null,