Closed omadawn closed 6 years ago
O.K. Figured out the issue that was causing the dashboard import to fail and fixed that.
Then, because I'm a horrible yak shaver, implemented a unit test for it with the https://github.com/jarcoal/httpmock mocking framework.
The test still needs some work but it's validating that the request is made to the right location and doing some basic validation of the format of what is being sent.
O.K. Figured out the issue that was causing the dashboard import to fail and fixed that.
Then, because I'm a horrible yak shaver, implemented a unit test for it with the https://github.com/jarcoal/httpmock mocking framework.
The test still needs some work but it's validating that the request is made to the right location and doing some basic validation of the format of what is being sent.