From e95740aeb70f027f997d3ade3e131444f579ea96 Mon Sep 17 00:00:00 2001 From: Priyansu Rout Date: Fri, 14 Jun 2024 00:31:27 +0530 Subject: [PATCH] Implement osnadmin channel info' subcommand and update tests Signed-off-by: Priyansu Rout --- cmd/osnadmin/main_test.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/cmd/osnadmin/main_test.go b/cmd/osnadmin/main_test.go index 68dac159476..f11a66d4da5 100644 --- a/cmd/osnadmin/main_test.go +++ b/cmd/osnadmin/main_test.go @@ -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",