File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
sentry-android-core/src/test/java/io/sentry/android/core Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -151,21 +151,21 @@ class AppComponentsBreadcrumbsIntegrationTest {
151151 fun `low memory changes are debounced` () {
152152 val sut = fixture.getSut()
153153
154- val scopes = mock<IScopes >()
154+ val hub = mock<IHub >()
155155 val options = SentryAndroidOptions ().apply {
156156 executorService = ImmediateExecutorService ()
157157 }
158- sut.register(scopes , options)
158+ sut.register(hub , options)
159159 sut.onTrimMemory(ComponentCallbacks2 .TRIM_MEMORY_BACKGROUND )
160160 sut.onTrimMemory(ComponentCallbacks2 .TRIM_MEMORY_RUNNING_CRITICAL )
161161
162162 // should only add the first crumb
163- verify(scopes ).addBreadcrumb(
163+ verify(hub ).addBreadcrumb(
164164 check<Breadcrumb > {
165165 assertEquals(it.data[" level" ], 40 )
166166 },
167167 anyOrNull()
168168 )
169- verifyNoMoreInteractions(scopes )
169+ verifyNoMoreInteractions(hub )
170170 }
171171}
You can’t perform that action at this time.
0 commit comments