Skip to content

Commit

Permalink
fix tests compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm committed Jun 27, 2024
1 parent 3557b4f commit 2060f44
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pallets/pool-system/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -624,9 +624,9 @@ fn epoch() {
<PoolSystem as TrancheTokenPrice<
<Runtime as frame_system::Config>::AccountId,
<Runtime as Config>::CurrencyId,
>>::get(0, SeniorTrancheId::get())
>>::get_price(0, SeniorTrancheId::get())
.unwrap()
.price,
.0,
Quantity::one()
);

Expand Down Expand Up @@ -762,9 +762,9 @@ fn epoch() {
let senior_price = <PoolSystem as TrancheTokenPrice<
<Runtime as frame_system::Config>::AccountId,
<Runtime as Config>::CurrencyId,
>>::get(0, SeniorTrancheId::get())
>>::get_price(0, SeniorTrancheId::get())
.unwrap()
.price;
.0;
assert_eq!(pool.tranches.residual_tranche().unwrap().debt, 0);
assert_eq!(
pool.tranches.residual_tranche().unwrap().reserve,
Expand All @@ -789,9 +789,9 @@ fn epoch() {
<PoolSystem as TrancheTokenPrice<
<Runtime as frame_system::Config>::AccountId,
<Runtime as Config>::CurrencyId,
>>::get(0, SeniorTrancheId::get())
>>::get_price(0, SeniorTrancheId::get())
.unwrap()
.price,
.0,
Quantity::from_inner(1004126524122317386)
);
});
Expand Down

0 comments on commit 2060f44

Please sign in to comment.