fix(tests): fix test setup
The tests were calling the New() method with key and email in the wrong
order.
Functionally this didn't matter as we mock the API responses, however
it's a bad example.
@@ -26,7 +26,7 @@ func setup() {
server = httptest.NewServer(mux)
// Cloudflare client configured to use test server
- client, _ = New("cloudflare@example.org", "deadbeef")
+ client, _ = New("deadbeef", "cloudflare@example.org")
client.BaseURL = server.URL
}
