Skip to content

Commit 54f481f

Browse files
committed
testOpenInterestFutures commented (the exchange returns null)
1 parent cb0bfeb commit 54f481f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tests/BinanceLiveTests.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -728,16 +728,16 @@ public function testSymbolOrderBookTickerFutures()
728728
// $this->futuresBinance->useTestnet = true; // reset to true for other tests
729729
// }
730730

731-
public function testOpenInterestFutures()
732-
{
733-
$res = $this->futuresBinance->futuresOpenInterest($this->symbol);
734-
$this->assertIsArray($res);
735-
$this->assertEquals($this->symbol, $res['symbol']);
736-
$this->assertArrayHasKey('openInterest', $res);
737-
$this->assertIsNumeric($res['openInterest']);
738-
$this->assertArrayHasKey('time', $res);
739-
$this->assertIsInt($res['time']);
740-
}
731+
// public function testOpenInterestFutures()
732+
// {
733+
// $res = $this->futuresBinance->futuresOpenInterest($this->symbol); // for now the exchange returns null
734+
// $this->assertIsArray($res);
735+
// $this->assertEquals($this->symbol, $res['symbol']);
736+
// $this->assertArrayHasKey('openInterest', $res);
737+
// $this->assertIsNumeric($res['openInterest']);
738+
// $this->assertArrayHasKey('time', $res);
739+
// $this->assertIsInt($res['time']);
740+
// }
741741

742742
// public function testOpenInterestHistoryFutures() // Could throw an error if useTestnet is set to false
743743
// {

0 commit comments

Comments
 (0)