Remove deprecated constructor usage in test.

Original Pull Request: #4607
This commit is contained in:
francoiskha
2024-01-10 10:58:15 +01:00
committed by Christoph Strobl
parent ebdffb249f
commit 5db4132658

View File

@@ -234,7 +234,7 @@ class MongoObservationCommandListenerTests {
customObservationConvention);
// when
listener.commandStarted(new CommandStartedEvent(new MapRequestContext(), 0, null, "some name", "", null));
listener.commandStarted(new CommandStartedEvent(new MapRequestContext(), 0, 0,null, "some name", "", null));
// then
assertThat(meterRegistry).hasMeterWithName("custom.name.active");