Problem
tests/purge_reward_stream.rs and tests/test.rs each independently declare their own #[contract] pub struct MockDripsContract with an identical start_stream stub, instead of sharing one implementation.
Why it matters
Any change to the mocked Drips interface (e.g. a new method needed for a future test) has to be made in two separate mock definitions, and there's no guarantee the two stay behaviorally identical over time.
Suggested fix
Move MockDripsContract into a shared test-support location (e.g. tests/common/mod.rs) and have both test files import it instead of redefining it.
Acceptance criteria
Problem
tests/purge_reward_stream.rsandtests/test.rseach independently declare their own#[contract] pub struct MockDripsContractwith an identicalstart_streamstub, instead of sharing one implementation.Why it matters
Any change to the mocked Drips interface (e.g. a new method needed for a future test) has to be made in two separate mock definitions, and there's no guarantee the two stay behaviorally identical over time.
Suggested fix
Move
MockDripsContractinto a shared test-support location (e.g.tests/common/mod.rs) and have both test files import it instead of redefining it.Acceptance criteria
MockDripsContractis defined once and reused by both test files