Skip to content

Commit 07bdd5c

Browse files
committed
update unit tests
1 parent ec0cf30 commit 07bdd5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/test/kotlin/com/segment/analytics/kotlin/core/utilities/InMemoryStorageTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ internal class InMemoryStorageTest {
136136
fun `system reset action removes system`() = runTest {
137137
val action = object : Action<System> {
138138
override fun reduce(state: System): System {
139-
return System(state.configuration, null, state.running, state.initializedPlugins, state.enabled)
139+
return System(state.configuration, null, state.running, state.initializedPlugins, state.waitingPlugins, state.enabled)
140140
}
141141
}
142142
store.dispatch(action, System::class)

core/src/test/kotlin/com/segment/analytics/kotlin/core/utilities/StorageImplTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ internal class StorageImplTest {
161161
fun `system reset action removes system`() = runTest {
162162
val action = object : Action<System> {
163163
override fun reduce(state: System): System {
164-
return System(state.configuration, null, state.running, state.initializedPlugins, state.enabled)
164+
return System(state.configuration, null, state.running, state.initializedPlugins, state.waitingPlugins, state.enabled)
165165
}
166166
}
167167
store.dispatch(action, System::class)

0 commit comments

Comments
 (0)