move credentials as separate package (#5115)

This commit is contained in:
Bala FA authored and Dee Koder committed 2017-10-31 11:54:32 -07:00
1 parent 8d584bd819
commit 32c6b62932
26 files changed
+307 -277

No files matched your search

+3 -1
View File
@@ -19,6 +19,8 @@ package cmd
import (
"path"
"testing"
"github.com/minio/minio/pkg/auth"
)
// API suite container common to both FS and XL.
@@ -61,7 +63,7 @@ func TestBrowserPeerRPC(t *testing.T) {
// Tests for browser peer rpc.
func (s *TestRPCBrowserPeerSuite) testBrowserPeerRPC(t *testing.T) {
// Construct RPC call arguments.
creds, err := createCredential("abcd1", "abcd1234")
creds, err := auth.CreateCredentials("abcd1", "abcd1234")
if err != nil {
t.Fatalf("unable to create credential. %v", err)
}