Skip to content

Commit 5db4132

Browse files
francoiskhachristophstrobl
authored andcommitted
Remove deprecated constructor usage in test.
Original Pull Request: #4607
1 parent ebdffb2 commit 5db4132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-data-mongodb/src/test/java/org/springframework/data/mongodb/observability/MongoObservationCommandListenerTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public String getName() {
234234
customObservationConvention);
235235

236236
// when
237-
listener.commandStarted(new CommandStartedEvent(new MapRequestContext(), 0, null, "some name", "", null));
237+
listener.commandStarted(new CommandStartedEvent(new MapRequestContext(), 0, 0,null, "some name", "", null));
238238

239239
// then
240240
assertThat(meterRegistry).hasMeterWithName("custom.name.active");

0 commit comments

Comments
 (0)