mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-18 15:10:03 +00:00
OKX: Relax TestGetLeadTraderCurrentLeadPositions (#1890)
... with some glorious Japanese calming tea
This commit is contained in:
@@ -5891,9 +5891,9 @@ func TestGetLeadTraderCurrentLeadPositions(t *testing.T) {
|
||||
_, err := ok.GetLeadTraderCurrentLeadPositions(contextGenerate(), instTypeSwap, "", "", "", 10)
|
||||
require.ErrorIs(t, err, errUniqueCodeRequired)
|
||||
|
||||
result, err := ok.GetLeadTraderCurrentLeadPositions(contextGenerate(), "SWAP", leadTraderUniqueID, "", "", 10)
|
||||
_, err = ok.GetLeadTraderCurrentLeadPositions(contextGenerate(), "SWAP", leadTraderUniqueID, "", "", 10)
|
||||
require.NoError(t, err)
|
||||
assert.NotNil(t, result)
|
||||
// No test validation of positions performed as the lead trader may not have any positions open
|
||||
}
|
||||
|
||||
func TestGetLeadTraderLeadPositionHistory(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user