From 7e32de464a219fe7cfd3effb4c8209d9297328d9 Mon Sep 17 00:00:00 2001 From: John Murphy Date: Fri, 2 Jul 2021 14:47:36 +0000 Subject: [PATCH] implemented code review suggestion --- pkg/analyze/host_time_test.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pkg/analyze/host_time_test.go b/pkg/analyze/host_time_test.go index 6c16a31fd..04a8dd9f4 100644 --- a/pkg/analyze/host_time_test.go +++ b/pkg/analyze/host_time_test.go @@ -205,9 +205,6 @@ func TestAnalyzeHostTime(t *testing.T) { When: "timezone != UTC", Message: "Timezone is not set to UTC", }, - Pass: &troubleshootv1beta2.SingleOutcome{ - Message: "Timezone is set to UTC", - }, }, }, }, @@ -233,20 +230,12 @@ func TestAnalyzeHostTime(t *testing.T) { When: "timezone != UTC", Message: "timezone is not set to UTC", }, - Pass: &troubleshootv1beta2.SingleOutcome{ - When: "timezone == UTC", - Message: "timezone set to UTC", - }, }, { Warn: &troubleshootv1beta2.SingleOutcome{ When: "ntp == unsynchronized+active", Message: "System clock not yet synchronized", }, - Pass: &troubleshootv1beta2.SingleOutcome{ - When: "ntp == synchronized+active", - Message: "System clock synchronized", - }, }, }, },