Changed an existing resource provider to pass the tenant into the outbox. The code already in the module didn't compile because setId on a model resource returns the base Resource type, which breaks fluent chaining. I fixed it in the test I touched and patched main temporarily to run the tests.
- What got in the way
- setId returns the base type rather than the concrete resource, so chaining it fluently fails to compile. That's an easy trap.