From 81a5cb00df00df44704543430348a357b8e27bdb Mon Sep 17 00:00:00 2001 From: Cem Deniz Kabakci Date: Mon, 10 Jun 2024 10:57:36 +0200 Subject: [PATCH] [receiver/cloudfoundryreceiver] remove unnecessary test Co-authored-by: Jose Riguera Co-authored-by: Sam Clulow --- receiver/cloudfoundryreceiver/config_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/receiver/cloudfoundryreceiver/config_test.go b/receiver/cloudfoundryreceiver/config_test.go index 4ca37e9698d7..dedd5f0e3d15 100644 --- a/receiver/cloudfoundryreceiver/config_test.go +++ b/receiver/cloudfoundryreceiver/config_test.go @@ -125,10 +125,6 @@ func TestInvalidConfigValidation(t *testing.T) { configuration.RLPGateway.ShardID = "" require.Error(t, configuration.Validate()) - configuration = loadSuccessfulConfig(t) - configuration.RLPGateway.ShardID = "" - require.Error(t, configuration.Validate()) - configuration = loadSuccessfulConfig(t) configuration.UAA.Endpoint = "https://[invalid" require.Error(t, configuration.Validate())