github.com/hechain20/hechain@v0.0.0-20220316014945-b544036ba106/common/channelconfig/consortiums_test.go (about)

     1  /*
     2  Copyright hechain. 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/require"
    13  )
    14  
    15  func TestConsortiums(t *testing.T) {
    16  	_, err := NewConsortiumsConfig(&cb.ConfigGroup{}, nil)
    17  	require.NoError(t, err)
    18  }