@@ -2,12 +2,11 @@ package com.wavesplatform.it.matcher.api.http.markets
22
33import sttp .model .StatusCode
44import com .typesafe .config .{Config , ConfigFactory }
5- import com .wavesplatform .dex .api .http .entities .HttpOrderBookStatus
5+ import com .wavesplatform .dex .api .http .entities .{ HttpLastTrade , HttpLevelAgg , HttpOrderBookStatus }
66import com .wavesplatform .dex .domain .asset .AssetPair
77import com .wavesplatform .dex .domain .order .OrderType .{BUY , SELL }
88import com .wavesplatform .dex .error .{AssetNotFound , InvalidAsset , OrderAssetPairReversed }
99import com .wavesplatform .dex .it .api .RawHttpChecks
10- import com .wavesplatform .dex .model .{LastTrade , LevelAgg }
1110import com .wavesplatform .it .MatcherSuiteBase
1211import org .scalatest .prop .TableDrivenPropertyChecks
1312
@@ -73,9 +72,9 @@ class GetOrderBookStatusSpec extends MatcherSuiteBase with TableDrivenPropertyCh
7372 Some (1 .waves)
7473 ))
7574
76- status.lastTrade.get should be(LastTrade (1.9 .usd, 1 .waves, BUY ))
77- status.bestBid.get should be(LevelAgg (10 .waves, 1.1 .usd))
78- status.bestAsk.get should be(LevelAgg (1 .waves, 1.9 .usd))
75+ status.lastTrade.get should be(HttpLastTrade (1.9 .usd, 1 .waves, BUY ))
76+ status.bestBid.get should be(HttpLevelAgg (10 .waves, 1.1 .usd))
77+ status.bestAsk.get should be(HttpLevelAgg (1 .waves, 1.9 .usd))
7978 }
8079
8180 withClue(" - trade (best sell order fully filled)" ) {
@@ -92,9 +91,9 @@ class GetOrderBookStatusSpec extends MatcherSuiteBase with TableDrivenPropertyCh
9291 Some (4 .waves)
9392 ))
9493
95- status.lastTrade.get should be(LastTrade (1.9 .usd, 1 .waves, BUY ))
96- status.bestBid.get should be(LevelAgg (10 .waves, 1.1 .usd))
97- status.bestAsk.get should be(LevelAgg (4 .waves, 2 .usd))
94+ status.lastTrade.get should be(HttpLastTrade (1.9 .usd, 1 .waves, BUY ))
95+ status.bestBid.get should be(HttpLevelAgg (10 .waves, 1.1 .usd))
96+ status.bestAsk.get should be(HttpLevelAgg (4 .waves, 2 .usd))
9897 }
9998 }
10099
0 commit comments