Commit 06663a6 1 parent 86c95ca commit 06663a6 Copy full SHA for 06663a6
File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -103,16 +103,20 @@ func (s *marginTestSuite) TestBorrowRepayBorrow() {
103
103
_type := MarginAccountBorrow
104
104
s .assertReq (func (r * request ) {
105
105
e := newSignedRequest ().setFormParams (params {
106
- "asset" : asset ,
107
- "amount" : amount ,
108
- "type" : string (_type ),
106
+ "asset" : asset ,
107
+ "amount" : amount ,
108
+ "isIsolated" : false ,
109
+ "symbol" : "" ,
110
+ "type" : string (_type ),
109
111
})
110
112
s .assertRequestEqual (e , r )
111
113
})
112
114
res , err := s .client .NewMarginBorrowRepayService ().
113
115
Asset (asset ).
114
116
Amount (amount ).
115
117
Type (_type ).
118
+ IsIsolated (false ). // can be omitted when IsIsolated is false
119
+ Symbol ("" ). // can be omitted when IsIsolated is false
116
120
Do (newContext ())
117
121
s .r ().NoError (err )
118
122
e := & TransactionResponse {
You can’t perform that action at this time.
0 commit comments