diff --git a/commit/chainfee/observation_test.go b/commit/chainfee/observation_test.go index aeae658e..07b98bf4 100644 --- a/commit/chainfee/observation_test.go +++ b/commit/chainfee/observation_test.go @@ -160,11 +160,11 @@ func Test_processor_Observation(t *testing.T) { require.GreaterOrEqual(t, obs.TimestampNow.UnixNano(), tStart.UnixNano()) require.LessOrEqual(t, obs.TimestampNow.UnixNano(), tEnd.UnixNano()) require.Equal(t, tc.chainFeeComponents, obs.FeeComponents) - require.Equal(t, maps.Keys(tc.chainFeeComponents), slicesWithoutDst) + require.Equal(t, slicesWithoutDst, maps.Keys(obs.FeeComponents)) require.Equal(t, tc.nativeTokenPrices, obs.NativeTokenPrices) - require.Equal(t, maps.Keys(tc.nativeTokenPrices), slicesWithoutDst) + require.Equal(t, slicesWithoutDst, maps.Keys(obs.NativeTokenPrices)) require.Equal(t, tc.expectedChainFeePriceUpdates, obs.ChainFeeUpdates) - require.Equal(t, maps.Keys(tc.expectedChainFeePriceUpdates), slicesWithoutDst) + require.Equal(t, slicesWithoutDst, maps.Keys(obs.ChainFeeUpdates)) require.Equal(t, tc.fChain, obs.FChain) }) }