From aafae91fac32953581a4750f0174ede81f8607c1 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Tue, 3 Sep 2024 15:32:53 -0500 Subject: [PATCH] test: sync bid offer ids, expected payouts --- .../boot/test/bootstrapTests/price-feed-replace.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/boot/test/bootstrapTests/price-feed-replace.test.ts b/packages/boot/test/bootstrapTests/price-feed-replace.test.ts index 62cfba9d085..4791bf3fa94 100644 --- a/packages/boot/test/bootstrapTests/price-feed-replace.test.ts +++ b/packages/boot/test/bootstrapTests/price-feed-replace.test.ts @@ -48,7 +48,7 @@ const outcome = { test.serial('1. setupVaults; placeBids', async t => { const { placeBids, readLatest, setupVaults } = t.context; await setupVaults(collateralBrandKey, managerIndex, setup); - await placeBids(collateralBrandKey, 'agoric1buyer', setup); + await placeBids(collateralBrandKey, 'agoric1buyer', setup, 0); t.like(readLatest('published.wallet.agoric1buyer.current'), { liveOffers: [['ATOM-bid1', { id: 'ATOM-bid1' }]], @@ -166,8 +166,8 @@ test.serial('3. verify liquidation', async t => { t.like(readLatest('published.wallet.agoric1buyer'), { status: { - id: `${collateralBrandKey}-bid2`, - payouts: likePayouts(outcome.bids[1].payouts), + id: `${collateralBrandKey}-bid1`, + payouts: likePayouts(outcome.bids[0].payouts), }, }); });