diff options
| author | 2024-12-04 14:37:31 +0100 | |
|---|---|---|
| committer | 2024-12-04 16:44:16 +0000 | |
| commit | e745133265d89e8a15043e4aa5239520bb2d144d (patch) | |
| tree | 7ced743746915a9c59c2a0c5dd7640ee9eb361ec /api/api_test.go | |
| parent | e5f1dc5996f6c0c8f038aa57b47b6a25164f9231 (diff) | |
Clear invocations earlier in dnd test
This is necessary because dndMode (being a StateFlow), has an extra
"default value" emission at the beginning. Removing
clearInvocations() in the test steps makes it clearer that there
are no unwanted emissions when activating/deactivating DND at any
point afterwards.
Bug: 380908293
Test: ClockEventControllerTest
Flag: TEST_ONLY
Change-Id: I0b630b0bcbba00a8211134eb0ccc070af3af33ca
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions