Skip to content

Commit

Permalink
[FAB-9965] unit-test: Remove duplicated code
Browse files Browse the repository at this point in the history
Change-Id: I49be86ad54f0ce732e43b40d6399f52fbe703aba
Signed-off-by: ping40 <norberthu30@gmail.com>
  • Loading branch information
ping40 committed May 9, 2018
1 parent 98a747d commit eadf668
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/client/msp/client_test.go
Expand Up @@ -171,11 +171,6 @@ func getEnrolledUser(t *testing.T, msp *Client) mspctx.SigningIdentity {
t.Fatalf("Enroll return error %v", err)
}

_, err = msp.GetSigningIdentity(enrollUsername)
if err != nil {
t.Fatalf("Expected to find user")
}

enrolledUser, err := msp.GetSigningIdentity(enrollUsername)
if err != nil {
t.Fatalf("Expected to find user")
Expand Down

0 comments on commit eadf668

Please sign in to comment.