Skip to content

Commit

Permalink
BTSE: Remove PIT tests; Token removed
Browse files Browse the repository at this point in the history
BTSE have removed the PIT token pairs

All these changes stand, and this just removes the test
  • Loading branch information
gbjk committed Dec 13, 2023
1 parent 9a99c74 commit 6926b72
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions exchanges/btse/btse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func TestUpdateTradablePairs(t *testing.T) {
t.Parallel()
updatePairsOnce(t)
expected := map[asset.Item][]string{
asset.Spot: {"BTCUSD", "BTCUSDT", "ETHBTC", "M_PITUSD"},
asset.Spot: {"BTCUSD", "BTCUSDT", "ETHBTC"},
asset.Futures: {"BTCPFC", "ETHPFC"},
}
for a, pairs := range expected {
Expand All @@ -69,8 +69,6 @@ func TestUpdateTradablePairs(t *testing.T) {
assert.NoErrorf(t, err, "Should find pair %s for %s", symb, a)
}
}
_, err := b.CurrencyPairs.Match("PITUSD", asset.Spot)
assert.ErrorIs(t, err, currency.ErrPairNotFound, "Should not find a PITUSD pair") // Instead we expected to find the M_PITUSD pair earlier
}

func TestStart(t *testing.T) {
Expand Down

0 comments on commit 6926b72

Please sign in to comment.