From f0b0e5975fde10dea35bced8ffa43ca07d4ddd96 Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Tue, 24 Sep 2024 10:12:25 -0700 Subject: [PATCH] fix policies test --- x/authority/types/policies_test.go | 2 +- zetaclient/zetacore/client_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x/authority/types/policies_test.go b/x/authority/types/policies_test.go index 4674cf8d2c..7fa222af69 100644 --- a/x/authority/types/policies_test.go +++ b/x/authority/types/policies_test.go @@ -11,7 +11,7 @@ import ( ) func TestPolicies_Validate(t *testing.T) { - sdkconfig.SetDefault(true) + sdkconfig.SetDefault(false) // use table driven tests to test the validation of policies tests := []struct { name string diff --git a/zetaclient/zetacore/client_test.go b/zetaclient/zetacore/client_test.go index 024ea9cce9..c989ef7916 100644 --- a/zetaclient/zetacore/client_test.go +++ b/zetaclient/zetacore/client_test.go @@ -220,7 +220,7 @@ func TestZetacore_GetAllOutboundTrackerByChain(t *testing.T) { method := "/zetachain.zetacore.crosschain.Query/OutboundTrackerAllByChain" setupMockServer(t, crosschaintypes.RegisterQueryServer, method, input, expectedOutput) - client := setupZetacoreClient(t) + client := setupZetacoreClient(t, withDefaultObserverKeys()) resp, err := client.GetAllOutboundTrackerByChain(ctx, chain.ChainId, interfaces.Ascending) require.NoError(t, err)