Skip to content

Commit

Permalink
Merge "Gossip channel test- remove unused code"
Browse files Browse the repository at this point in the history
  • Loading branch information
Srinivasan Muralidharan authored and Gerrit Code Review committed Mar 12, 2017
2 parents 2b34006 + e2f1e76 commit 783b24f
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 783b24f

Please sign in to comment.