From 395ec39c517e13d24ff74b2047f04ca7d246d1cf Mon Sep 17 00:00:00 2001 From: shane Date: Tue, 10 Dec 2024 10:11:49 -0600 Subject: [PATCH] LEAF-4487 - switch over to different headers and values --- API-tests/formQuery_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/API-tests/formQuery_test.go b/API-tests/formQuery_test.go index cf489c51..04c828db 100644 --- a/API-tests/formQuery_test.go +++ b/API-tests/formQuery_test.go @@ -292,7 +292,7 @@ func TestLargeFormQuery_SmallQuery(t *testing.T) { t.Errorf("Record 958 should be readable") } - if res.Header.Get("Leaf_large_queries") != "process_ran_on_api_server" { + if res.Header.Get("LEAF_Is_Large_Query") != "false" { t.Errorf("bad headers: %v", res.Header) } } @@ -311,7 +311,7 @@ func TestLargeFormQuery_SmallQuery_Indi_lt10_Limit1001(t *testing.T) { t.Errorf("Record 958 should be readable") } - if res.Header.Get("Leaf_large_queries") != "process_ran_on_api_server" { + if res.Header.Get("LEAF_Is_Large_Query") != "false" { t.Errorf("bad headers: %v", res.Header) } } @@ -330,7 +330,7 @@ func TestLargeFormQuery_LargeQuery_NoLimit(t *testing.T) { t.Errorf("Record 958 should be readable") } - if res.Header.Get("Leaf_large_queries") != "process_ran_on_large_query_server" { + if res.Header.Get("LEAF_Is_Large_Query") != "true" { t.Errorf("bad headers: %v", res.Header) } @@ -350,7 +350,7 @@ func TestLargeFormQuery_LargeQuery_LimitGT110000(t *testing.T) { t.Errorf("Record 958 should be readable") } - if res.Header.Get("Leaf_large_queries") != "process_ran_on_large_query_server" { + if res.Header.Get("LEAF_Is_Large_Query") != "true" { t.Errorf("bad headers: %v", res.Header) } @@ -370,7 +370,7 @@ func TestLargeFormQuery_LargeQuery_Indi_10_Limit1001(t *testing.T) { t.Errorf("Record 958 should be readable") } - if res.Header.Get("Leaf_large_queries") != "process_ran_on_large_query_server" { + if res.Header.Get("LEAF_Is_Large_Query") != "true" { t.Errorf("bad headers: %v", res.Header) }