TBDhis diff introduces a function to build a Tonic client for further API calls in integrational tests. The pointer to the client will be passed to the helper functions (in D5931) instead of making the "global" client instance.
Linear task: [[ https://linear.app/comm/issue/ENG-1657 | ENG-1657 ]]