@@ -16,7 +16,6 @@ import (
1616 exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
1717 "github.com/InjectiveLabs/sdk-go/client/common"
1818 "github.com/InjectiveLabs/sdk-go/client/core"
19- "github.com/InjectiveLabs/sdk-go/client/exchange"
2019)
2120
2221func TestMarketAssistantCreation (t * testing.T ) {
@@ -179,8 +178,6 @@ func TestMarketAssistantCreationWithAllTokens(t *testing.T) {
179178 network := common .NewNetwork ()
180179 network .OfficialTokensListURL = httpServer .URL
181180
182- mockExchange := exchange.MockExchangeClient {}
183- mockExchange .Network = network
184181 mockChain := MockChainClient {}
185182 smartDenomMetadata := createSmartDenomMetadata ()
186183
@@ -193,7 +190,7 @@ func TestMarketAssistantCreationWithAllTokens(t *testing.T) {
193190 })
194191
195192 ctx := context .Background ()
196- assistant , err := NewMarketsAssistantWithAllTokens (ctx , & mockExchange , & mockChain )
193+ assistant , err := NewMarketsAssistantWithAllTokens (ctx , nil , & mockChain )
197194
198195 assert .NoError (t , err )
199196
@@ -365,8 +362,6 @@ func TestHumanReadableMarketAssistantCreationWithAllTokens(t *testing.T) {
365362 network := common .NewNetwork ()
366363 network .OfficialTokensListURL = httpServer .URL
367364
368- mockExchange := exchange.MockExchangeClient {}
369- mockExchange .Network = network
370365 mockChain := MockChainClientV2 {}
371366 smartDenomMetadata := createSmartDenomMetadata ()
372367
@@ -379,7 +374,7 @@ func TestHumanReadableMarketAssistantCreationWithAllTokens(t *testing.T) {
379374 })
380375
381376 ctx := context .Background ()
382- assistant , err := NewHumanReadableMarketsAssistantWithAllTokens (ctx , & mockExchange , & mockChain )
377+ assistant , err := NewHumanReadableMarketsAssistantWithAllTokens (ctx , nil , & mockChain )
383378
384379 assert .NoError (t , err )
385380
0 commit comments