Page MenuHomePhorge

Use mock helper and signal spy for mocks
ClosedPublic

Authored by tusooa on Jun 22 2024, 10:32 AM.
Tags
None
Referenced Files
F5597480: D65.1754952529.diff
Sun, Aug 10, 3:48 PM
F5586337: D65.1754946225.diff
Sun, Aug 10, 2:03 PM
F5586326: D65.1754946215.diff
Sun, Aug 10, 2:03 PM
F5576893: D65.1754935634.diff
Sun, Aug 10, 11:07 AM
Subscribers
None

Details

Summary

We originally craft the mocks ad-hoc, which leads to a lot of duplicated code. This commit unifies them by using a helper. Non-signal mocks are changed to use the helper, and signal mocks are changed to use the SignalSpy.

Type: skip

BUG: https://iron.lily-is.land/T78

Test Plan

Verify that all unit tests pass.

Diff Detail

Repository
rK kazv
Lint
Lint Not Applicable
Unit
Tests Not Applicable