Skip to content

Commit

Permalink
Fix merged renamed method in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xgouchet committed Jan 25, 2022
1 parent 78531f2 commit ca07b32
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ internal class RumResourceScopeTest {
assertThat(lastValue)
.apply {
hasMessage(message)
hasSource(source)
hasErrorSource(source)
hasStackTrace(stackTrace)
isCrash(false)
hasResource(fakeUrl, fakeMethod, 0L)
Expand Down Expand Up @@ -954,7 +954,8 @@ internal class RumResourceScopeTest {
fakeEventTime,
fakeAttributes,
fakeServerOffset,
mockDetector
mockDetector,
mockRumEventSourceProvider
)
doAnswer { true }.whenever(mockDetector).isFirstPartyUrl(brokenUrl)
val attributes = forge.exhaustiveAttributes(excludedKeys = fakeAttributes.keys)
Expand Down Expand Up @@ -982,7 +983,7 @@ internal class RumResourceScopeTest {
assertThat(lastValue)
.apply {
hasMessage(message)
hasSource(source)
hasErrorSource(source)
hasStackTrace(stackTrace)
isCrash(false)
hasResource(brokenUrl, fakeMethod, 0L)
Expand Down Expand Up @@ -1098,7 +1099,7 @@ internal class RumResourceScopeTest {
assertThat(lastValue)
.apply {
hasMessage(message)
hasSource(source)
hasErrorSource(source)
hasStackTrace(stackTrace)
isCrash(false)
hasResource(fakeUrl, fakeMethod, 0L)
Expand Down Expand Up @@ -1214,7 +1215,7 @@ internal class RumResourceScopeTest {
assertThat(lastValue)
.apply {
hasMessage(message)
hasSource(source)
hasErrorSource(source)
hasStackTrace(stackTrace)
isCrash(false)
hasResource(fakeUrl, fakeMethod, 0L)
Expand Down Expand Up @@ -1341,7 +1342,7 @@ internal class RumResourceScopeTest {
assertThat(lastValue)
.apply {
hasMessage(message)
hasSource(source)
hasErrorSource(source)
hasStackTrace(stackTrace)
isCrash(false)
hasResource(fakeUrl, fakeMethod, statusCode)
Expand Down

0 comments on commit ca07b32

Please sign in to comment.