Skip to content

Commit

Permalink
✅ spec fixes for CrashComponentExtractorTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Archish27 committed Jan 31, 2024
1 parent 15abcde commit c2f90a3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


import static io.middleware.android.sdk.utils.Constants.COMPONENT_CRASH;
import static io.middleware.android.sdk.utils.Constants.COMPONENT_ERROR;
import static io.middleware.android.sdk.utils.Constants.COMPONENT_KEY;
import static io.middleware.android.sdk.utils.Constants.EVENT_TYPE;
import static io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions.assertThat;
Expand All @@ -22,7 +23,7 @@ void shouldSetCrashComponent() {
.containsEntry(COMPONENT_KEY, COMPONENT_CRASH);
assertThat(attributesBuilder.build())
.hasSize(2)
.containsEntry(EVENT_TYPE, COMPONENT_CRASH);
.containsEntry(EVENT_TYPE, COMPONENT_ERROR);
}

}

0 comments on commit c2f90a3

Please sign in to comment.