From dac6a6bb1e413e25202606d04230c89a305c78d3 Mon Sep 17 00:00:00 2001 From: Caleb Hurshman Date: Mon, 9 Dec 2024 16:10:53 -0500 Subject: [PATCH] fix client test --- receiver/splunksearchapireceiver/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/receiver/splunksearchapireceiver/client_test.go b/receiver/splunksearchapireceiver/client_test.go index bcf64087a..0dfe2d8ed 100644 --- a/receiver/splunksearchapireceiver/client_test.go +++ b/receiver/splunksearchapireceiver/client_test.go @@ -84,7 +84,7 @@ func TestGetSearchResults(t *testing.T) { resp, err := testClient.GetSearchResults("123456", 0, 5) require.NoError(t, err) - require.Equal(t, 5, len(resp.Results)) + require.Equal(t, 3, len(resp.Results)) require.Equal(t, "Hello, world!", resp.Results[0].Raw) // returns an error if the response status isn't 200