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 acb6519 commit a595165Copy full SHA for a595165
common/vpcclient/client/client_test.go
@@ -116,7 +116,7 @@ func TestClient(t *testing.T) {
116
operation: getOperation,
117
responseBody: "{\"errors\":[{\"message\":\"testerr\"}]}",
118
responseCode: http.StatusNotAcceptable,
119
- expectErr: "Trace Code:, Code:, Description:testerr, RC:",
+ expectErr: "Trace Code:, Code:, Description:testerr, RC:406 Not Acceptable",
120
verify: func(t *testing.T) {
121
assert.Equal(t, 1, len(errResult.Errors))
122
},
@@ -125,7 +125,7 @@ func TestClient(t *testing.T) {
125
126
responseBody: "{\"errors\":[{\"message\":\"testerr\"},{\"message\":\"another\"}]}",
127
128
129
130
assert.Equal(t, 2, len(errResult.Errors))
131
assert.Equal(t, "another", errResult.Errors[1].Message)
0 commit comments