Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmplibrary/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ android {
}

dependencies {
implementation("com.sourcepoint:core:0.1.12")
implementation("com.sourcepoint:core:0.1.13")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.1")
implementation("com.squareup.okhttp3:okhttp:4.12.0")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class SPConsentLibCoreTest {
val client = spClient
val coordinatorMock = mockk<ICoordinator>(relaxed = true)
every { coordinatorMock.userData } returns SPUserData()
coEvery { coordinatorMock.loadMessages(any(), any(), any()) } throws LoadMessagesException(causedBy = SPError())
coEvery { coordinatorMock.loadMessages(any(), any(), any()) } throws LoadMessagesException(cause = SPError())
getConsentLib(spClient = client, coordinator = coordinatorMock).loadMessage()
wr {
verify(exactly = 0) { client.onUIReady(any()) }
Expand All @@ -108,7 +108,7 @@ class SPConsentLibCoreTest {
val userData = SPUserData(gdpr = SPUserData.SPConsent(consents = GDPRConsent()))
val coordinatorMock = mockk<ICoordinator>(relaxed = true)
every { coordinatorMock.userData } returns userData
coEvery { coordinatorMock.loadMessages(any(), any(), any()) } throws LoadMessagesException(causedBy = SPError())
coEvery { coordinatorMock.loadMessages(any(), any(), any()) } throws LoadMessagesException(cause = SPError())
getConsentLib(spClient = client, coordinator = coordinatorMock).loadMessage()
wr {
verify(exactly = 0) { client.onUIReady(any()) }
Expand Down