improving, documenting, or customizing an existing source
Short description
This is a follow-up to #507
Additional Context
The previous test implementation relied on a mock server to listen to a specific route and return the data inside the request parameters.
Now, we mock the request-sending method and assert that it was called with the expected parameters.
This makes the test run faster and uses less code.
Tell us what you do here
Short description
This is a follow-up to #507
Additional Context
The previous test implementation relied on a mock server to listen to a specific route and return the data inside the request parameters. Now, we mock the request-sending method and assert that it was called with the expected parameters.
This makes the test run faster and uses less code.