Skip to content

Commit 035a3a5

Browse files
author
LocalIdentity
committed
Fix failing test
Each test now runs with a clean slate as PriceBuilderProcessPoENinjaResponse was being affected by previous tests
1 parent b9c811d commit 035a3a5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

spec/System/TestTradeQueryCurrency_spec.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
describe("TradeQuery Currency Conversion", function()
2-
local mock_tradeQuery = new("TradeQuery", { itemsTab = {} })
2+
local mock_tradeQuery
3+
4+
before_each(function()
5+
mock_tradeQuery = new("TradeQuery", { itemsTab = {} })
6+
end)
37

48
-- test case for commit: "Skip callback on errors to prevent incomplete conversions"
59
describe("FetchCurrencyConversionTable", function()

0 commit comments

Comments
 (0)