Uses various *testing.T conveniences to set up a prepared client for use in tests, or to skip the test (rather than panicking) if the mandatory credentials are not set.
Removes the use of global state to set up the credentials.
Tests all pass just fine using an appkey I just generated!
Uses various
*testing.T
conveniences to set up a prepared client for use in tests, or to skip the test (rather than panicking) if the mandatory credentials are not set.Removes the use of global state to set up the credentials.
Tests all pass just fine using an appkey I just generated!