github.com/ewagmig/fabric@v2.1.1+incompatible/common/channelconfig/consortiums_test.go (about)

     1  /*
     2  Copyright IBM Corp. All Rights Reserved.
     3  
     4  SPDX-License-Identifier: Apache-2.0
     5  */
     6  package channelconfig
     7  
     8  import (
     9  	"testing"
    10  
    11  	cb "github.com/hyperledger/fabric-protos-go/common"
    12  	"github.com/stretchr/testify/assert"
    13  )
    14  
    15  func TestConsortiums(t *testing.T) {
    16  	_, err := NewConsortiumsConfig(&cb.ConfigGroup{}, nil)
    17  	assert.NoError(t, err)
    18  }