summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2022-02-24 10:55:58 +0100
committerMartin Polden <mpolden@mpolden.no>2022-02-24 10:55:58 +0100
commit392edc58a07748b7d0acabbf5585329bf3f7ed9d (patch)
treed309482e180f6cba11970b6a7d1f74cea66b010b /client
parentbee22704f41a52588d47c821e196ad98e83445c0 (diff)
Reset logCmd between tests
Diffstat (limited to 'client')
-rw-r--r--client/go/cmd/command_tester.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/go/cmd/command_tester.go b/client/go/cmd/command_tester.go
index 22f50b52cee..82682b3b355 100644
--- a/client/go/cmd/command_tester.go
+++ b/client/go/cmd/command_tester.go
@@ -65,6 +65,7 @@ func execute(cmd command, t *testing.T, client *mockHttpClient) (string, string)
rootCmd.Flags().VisitAll(resetFlag)
queryCmd.Flags().VisitAll(resetFlag)
documentCmd.Flags().VisitAll(resetFlag)
+ logCmd.Flags().VisitAll(resetFlag)
// Capture stdout and execute command
var capturedOut bytes.Buffer