We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79146a1 commit 02e5ef3Copy full SHA for 02e5ef3
apiclient/apiclient_test.go
@@ -327,12 +327,16 @@ func TestAccountStatus(t *testing.T) {
327
cmd := map[string]interface{}{}
328
cmd["COMMAND"] = "StatusAccount"
329
r := cl.Request(cmd)
330
+ if r.GetDescription() == "Authorization failed" {
331
+ t.Error("TestAccountStatus: Please make sure correct credentials are provided")
332
+ }
333
+
334
if !r.IsSuccess() {
- t.Error("TestLogin1: Expected response to be a success case.")
335
+ t.Error("TestAccountStatus: Expected response to be a success case.")
336
}
337
rec := r.GetRecord(0)
338
if rec == nil {
- t.Error("TestLogin1: Expected record not to be nil.")
339
+ t.Error("TestAccountStatus: Expected record not to be nil.")
340
341
342
0 commit comments