Skip to content

Commit f98b4fd

Browse files
authored
Update mocks and fix tests (#1280)
update mocks and fix test
1 parent c071989 commit f98b4fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x/amm/types/calc_exit_pool_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,6 @@ func TestCalcExitPool(t *testing.T) {
181181
"exiting shares greater than total shares",
182182
func(oracleKeeper *mocks.OracleKeeper, accKeeper *mocks.AccountedPoolKeeper) {
183183
oracleKeeper.On("GetDenomPrice", mock.Anything, "tokenA").Return(osmomath.NewBigDec(0))
184-
accKeeper.On("GetAccountedBalance", mock.Anything, mock.Anything, "tokenA").Return(sdkmath.NewInt(1000))
185-
accKeeper.On("GetAccountedBalance", mock.Anything, mock.Anything, "tokenB").Return(sdkmath.NewInt(2000))
186184
},
187185
types.Pool{
188186
PoolParams: types.PoolParams{UseOracle: true},

x/amm/types/mocks/accounted_pool_keeper.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)