tests: Add tests for browser peer rpc. Fixes #3062 (#3189)

This commit is contained in:
Harshavardhana
2016-11-07 11:43:35 -08:00
committed by GitHub
parent 286a8924fd
commit 33c771bb3e
7 changed files with 173 additions and 23 deletions

View File

@@ -590,7 +590,6 @@ func testSetAuthWebHandler(obj ObjectLayer, instanceType string, t TestErrHandle
// Iterating over the test cases, calling the function under test and asserting the response.
for i, testCase := range testCases {
setAuthRequest := SetAuthArgs{AccessKey: testCase.username, SecretKey: testCase.password}
setAuthReply := &SetAuthReply{}
req, err := newTestWebRPCRequest("Web.SetAuth", authorization, setAuthRequest)