From 3f0b408c497a5658b5a3806d310688b3cf207a46 Mon Sep 17 00:00:00 2001 From: Eric Seidel Date: Thu, 19 Oct 2023 20:26:12 -0700 Subject: [PATCH] test: fix Market.allowsTradeOf test --- packages/types/test/api_test.dart | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/packages/types/test/api_test.dart b/packages/types/test/api_test.dart index e4f01558..88ad3d71 100644 --- a/packages/types/test/api_test.dart +++ b/packages/types/test/api_test.dart @@ -170,13 +170,11 @@ void main() { test('Market.allowsTradeOf', () { final market = Market( symbol: 'S-A-W', - tradeGoods: [ - MarketTradeGood( - symbol: 'FUEL', - tradeVolume: 1, - supply: MarketTradeGoodSupplyEnum.ABUNDANT, - purchasePrice: 1, - sellPrice: 2, + exports: [ + TradeGood( + symbol: TradeSymbol.FUEL, + name: '', + description: '', ), ], );