Skip to content

Commit

Permalink
Gossip channel test- remove unused code
Browse files Browse the repository at this point in the history
This code isn't used and was introduced lately.

Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
Change-Id: I87d243a5e091a08d42017c56bb7fcaf0df902f75
  • Loading branch information
yacovm committed Mar 10, 2017
1 parent 3295920 commit e2f1e76
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gossip/gossip/channel/channel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,6 @@ func configureAdapter(adapter *gossipAdapterMock, members ...discovery.NetworkMe
adapter.On("GetOrgOfPeer", pkiIDInOrg1ButNotEligible).Return(orgInChannelA)
adapter.On("GetOrgOfPeer", pkiIDinOrg2).Return(orgNotInChannelA)
adapter.On("GetOrgOfPeer", mock.Anything).Return(api.OrgIdentityType(nil))
adapter.On("OrgByPeerIdentity", mock.Anything).Run(func(args mock.Arguments) {
fmt.Println(args.Get(0))
})
}

func TestChannelPeriodicalPublishStateInfo(t *testing.T) {
Expand Down

0 comments on commit e2f1e76

Please sign in to comment.