Skip to content

Commit

Permalink
test: sync bid offer ids, expected payouts
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Sep 3, 2024
1 parent d88bafb commit aafae91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/boot/test/bootstrapTests/price-feed-replace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' }]],
Expand Down Expand Up @@ -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),
},
});
});

0 comments on commit aafae91

Please sign in to comment.