From 6001f1f456c2651c7ffe7cc2a42cd3b2e01275d3 Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Fri, 24 Jul 2020 14:32:07 -0700 Subject: [PATCH] Fix a failing unit test and import mistake from previous commits --- cmd/placeholder-name/app/app_test.go | 10 ++++++---- test/integration/loginrequest_test.go | 1 - 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/cmd/placeholder-name/app/app_test.go b/cmd/placeholder-name/app/app_test.go index 2cacf6d3..849925da 100644 --- a/cmd/placeholder-name/app/app_test.go +++ b/cmd/placeholder-name/app/app_test.go @@ -25,10 +25,12 @@ Usage: placeholder-name [flags] Flags: - -c, --config string path to configuration file (default "placeholder-name.yaml") - --downward-api-path string path to Downward API volume mount (default "/etc/podinfo") - -h, --help help for placeholder-name - --log-flush-frequency duration Maximum number of seconds between log flushes (default 5s) + --cluster-signing-cert-file string path to cluster signing certificate + --cluster-signing-key-file string path to cluster signing private key + -c, --config string path to configuration file (default "placeholder-name.yaml") + --downward-api-path string path to Downward API volume mount (default "/etc/podinfo") + -h, --help help for placeholder-name + --log-flush-frequency duration Maximum number of seconds between log flushes (default 5s) ` func TestCommand(t *testing.T) { diff --git a/test/integration/loginrequest_test.go b/test/integration/loginrequest_test.go index 8c56d539..9a119dd5 100644 --- a/test/integration/loginrequest_test.go +++ b/test/integration/loginrequest_test.go @@ -7,7 +7,6 @@ package integration import ( "context" - "encoding/json" "net/http" "os" "testing"