Small test cleanup

This commit is contained in:
Chris Eager
2022-08-09 15:32:44 -05:00
parent 5275c27ee1
commit 65da844d70
2 changed files with 21 additions and 20 deletions

View File

@@ -35,6 +35,7 @@ class MessageMetricsTest {
void setup() {
when(account.getUuid()).thenReturn(aci);
when(account.getPhoneNumberIdentifier()).thenReturn(pni);
Metrics.globalRegistry.clear();
simpleMeterRegistry = new SimpleMeterRegistry();
Metrics.globalRegistry.add(simpleMeterRegistry);
}