Skip to content

Commit

Permalink
fix: adapt test
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelVallenet committed Dec 30, 2024
1 parent c63bfa1 commit 889b0b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gno/r/launchpad_grc20/sale_grc20_test.gno
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ func TestBuy(t *testing.T) {
badCoin := std.NewCoins(std.NewCoin("notugnot", 100*10))
manyCoins := std.NewCoins(std.NewCoin("ugnot", 100*10), std.NewCoin("notugnot", 100*10))
notEnoughCoins := std.NewCoins(std.NewCoin("ugnot", 100*5))
tooManyCoins := std.NewCoins(std.NewCoin("ugnot", 100*11))
emptyCoins := std.NewCoins()
realmCoins := std.NewCoins(std.NewCoin("ugnot", 200*10))

Expand Down Expand Up @@ -534,7 +535,7 @@ func TestFinalize(t *testing.T) {
NewToken("TestFinalizeToken", "TestFinalizeToken", "image", 18, 21_000_000, 23_000_000, true, true)
saleID := NewSale("TestFinalizeToken", "", startTimestamp, endTimestamp, 100, 15, 10, 20, true)
onGoingSaleID := NewSale("TestFinalizeToken", "", startTimestamp, onGoingEndTimestamp, 100, 15, 10, 20, true)
_ = NewSale("TestFinalizeToken", "", startTimestamp, onGoingEndTimestamp2, 100, 15, 10, 20, true)
onGoingSaleID2 := NewSale("TestFinalizeToken", "", startTimestamp, onGoingEndTimestamp2, 100, 15, 10, 20, true)

realmCoins := std.NewCoins(std.NewCoin("ugnot", 200*10))

Expand Down

0 comments on commit 889b0b1

Please sign in to comment.