Skip to content

Commit

Permalink
Rename mock
Browse files Browse the repository at this point in the history
  • Loading branch information
buenaflor committed Jul 10, 2024
1 parent fddfed4 commit 03a297d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dart/test/mocks.dart
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ class DropAllEventProcessor implements EventProcessor {
}
}

class DropNumberOfSpans implements EventProcessor {
DropNumberOfSpans(this.numberOfSpansToDrop);
class DropSpansEventProcessor implements EventProcessor {
DropSpansEventProcessor(this.numberOfSpansToDrop);

final int numberOfSpansToDrop;

Expand Down
2 changes: 1 addition & 1 deletion dart/test/sentry_client_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1468,7 +1468,7 @@ void main() {
test('record event processor dropping partially spans', () async {
final numberOfSpansDropped = 2;
final sut = fixture.getSut(
eventProcessor: DropNumberOfSpans(numberOfSpansDropped));
eventProcessor: DropSpansEventProcessor(numberOfSpansDropped));
final transaction = SentryTransaction(fixture.tracer);
fixture.tracer.startChild('child1');
fixture.tracer.startChild('child2');
Expand Down

0 comments on commit 03a297d

Please sign in to comment.