Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 365c16b2 authored by Elliot Sisteron's avatar Elliot Sisteron
Browse files

Reset SafetyCenterManagerWrapper instance between tests.

This is because some other tests may set a mock on this static value, which will persist across test cases (whereas in this test we want to test the real thing).

Bug: 335557039
Change-Id: I14fc81922761159241636c78dbd47fce7bfeb533
Test: atest SafetyCenterManagerWrapperTest
parent 5ae84662
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ public class SafetyCenterManagerWrapperTest {
    @Before
    public void setUp() {
        MockitoAnnotations.initMocks(this);
        SafetyCenterManagerWrapper.sInstance = null;
    }

    @Test