File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
superwall/src/test/java/com/superwall/sdk/identity Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -497,31 +497,6 @@ class IdentityManagerTest {
497497 }
498498 }
499499
500- @Test
501- fun `identify with restorePaywallAssignments calls getAssignments` () =
502- runTest {
503- Given (" a fresh manager" ) {
504- val testScope = IOScope (this @runTest.coroutineContext)
505- val configState = MutableStateFlow <ConfigState >(ConfigState .Retrieved (Config .stub()))
506- every { configManager.configState } returns configState
507-
508- val manager = createManagerWithScope(testScope)
509-
510- When (" identify is called with restorePaywallAssignments = true" ) {
511- manager.identify(
512- " user-123" ,
513- options = IdentityOptions (restorePaywallAssignments = true ),
514- )
515- Thread .sleep(200 )
516- advanceUntilIdle()
517- }
518-
519- Then (" getAssignments is called on configManager" ) {
520- coVerify { configManager.getAssignments() }
521- }
522- }
523- }
524-
525500 // endregion
526501
527502 // region configure
You can’t perform that action at this time.
0 commit comments