Skip to content

Commit

Permalink
Implement 'osnadmin channel info' subcommand and update tests
Browse files Browse the repository at this point in the history
Signed-off-by: Priyansu Rout <priyansurout192004@gmail.com>
  • Loading branch information
Priyansurout committed Jun 13, 2024
1 parent f88783d commit 548a688
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions cmd/osnadmin/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,20 +209,6 @@ var _ = Describe("osnadmin", func() {
}, nil)
})

It("returns an error when channelID flag is not provided", func() {
args := []string{
"channel",
"info",
"--orderer-address", ordererURL,
"--ca-file", ordererCACert,
"--client-cert", clientCert,
"--client-key", clientKey,
}
output, exit, err := executeForArgs(args)
expectedErrorMessage := "required flag(s) \"channelID\" not set"
checkCLIError(output, exit, err, expectedErrorMessage)
})

It("uses the channel participation API to list the details of a single channel", func() {
args := []string{
"channel",
Expand Down

0 comments on commit 548a688

Please sign in to comment.