Skip to content

Commit fbaef13

Browse files
committed
Fix test
1 parent ac8a231 commit fbaef13

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

sentry-android-replay/src/test/java/io/sentry/android/replay/ReplayIntegrationTest.kt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ class ReplayIntegrationTest {
695695
@Test
696696
fun `closed replay cannot be started`() {
697697
val replay = fixture.getSut(context)
698-
replay.register(fixture.scopes, fixture.options)
698+
replay.register(fixture.hub, fixture.options)
699699
replay.start()
700700
replay.close()
701701

@@ -717,7 +717,7 @@ class ReplayIntegrationTest {
717717
recorderConfigProvider = { configChanged = it; recorderConfig }
718718
)
719719

720-
replay.register(fixture.scopes, fixture.options)
720+
replay.register(fixture.hub, fixture.options)
721721
replay.start()
722722
replay.pause()
723723
replay.onConfigurationChanged(mock())
@@ -734,7 +734,7 @@ class ReplayIntegrationTest {
734734
val captureStrategy = mock<CaptureStrategy>()
735735
val replay = fixture.getSut(context, replayCaptureStrategyProvider = { captureStrategy })
736736

737-
replay.register(fixture.scopes, fixture.options)
737+
replay.register(fixture.hub, fixture.options)
738738
replay.start()
739739
replay.pause()
740740
replay.onTouchEvent(mock())
@@ -752,7 +752,7 @@ class ReplayIntegrationTest {
752752
replayCaptureStrategyProvider = { captureStrategy }
753753
)
754754

755-
replay.register(fixture.scopes, fixture.options)
755+
replay.register(fixture.hub, fixture.options)
756756
replay.start()
757757
replay.onConnectionStatusChanged(DISCONNECTED)
758758
replay.pause()
@@ -772,7 +772,7 @@ class ReplayIntegrationTest {
772772
isRateLimited = true
773773
)
774774

775-
replay.register(fixture.scopes, fixture.options)
775+
replay.register(fixture.hub, fixture.options)
776776
replay.start()
777777

778778
replay.onRateLimitChanged(fixture.rateLimiter)
@@ -794,7 +794,7 @@ class ReplayIntegrationTest {
794794
isRateLimited = true
795795
)
796796

797-
replay.register(fixture.scopes, fixture.options)
797+
replay.register(fixture.hub, fixture.options)
798798
replay.start()
799799

800800
replay.pause()
@@ -814,7 +814,7 @@ class ReplayIntegrationTest {
814814
isOffline = true
815815
)
816816

817-
replay.register(fixture.scopes, fixture.options)
817+
replay.register(fixture.hub, fixture.options)
818818
replay.start()
819819

820820
replay.pause()
@@ -833,7 +833,7 @@ class ReplayIntegrationTest {
833833
replayCaptureStrategyProvider = { captureStrategy }
834834
)
835835

836-
replay.register(fixture.scopes, fixture.options)
836+
replay.register(fixture.hub, fixture.options)
837837
replay.start()
838838

839839
replay.pause()
@@ -852,7 +852,7 @@ class ReplayIntegrationTest {
852852
replayCaptureStrategyProvider = { captureStrategy }
853853
)
854854

855-
replay.register(fixture.scopes, fixture.options)
855+
replay.register(fixture.hub, fixture.options)
856856
replay.start()
857857

858858
replay.pause()

0 commit comments

Comments
 (0)