Skip to content

Commit

Permalink
Test initialized with testing config
Browse files Browse the repository at this point in the history
Change-Id: I7fa70013f61ea83bb1071ba3d4e7de1263dc058f
Signed-off-by: biljana lukovic <biljana.lukovic@securekey.com>
  • Loading branch information
biljanaLukovic committed Apr 5, 2017
1 parent 17cd4e0 commit ae71223
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions fabric-ca-client/fabricca_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,23 @@ limitations under the License.
package fabricca

import (
"fmt"
"io/ioutil"
"testing"

"github.com/hyperledger/fabric-sdk-go/config"
"github.com/hyperledger/fabric-sdk-go/fabric-ca-client/mocks"
"github.com/hyperledger/fabric-sdk-go/fabric-client"
)

// Load testing config
func TestMain(t *testing.T) {
err := config.InitConfig("../test/fixtures/config/config_test.yaml")
if err != nil {
fmt.Println(err.Error())
}
}

func TestEnrollWithMissingParameters(t *testing.T) {

fabricCAClient, err := NewFabricCAClient()
Expand Down

0 comments on commit ae71223

Please sign in to comment.