From e14bb807ec2618807d2e56393b377cf7e74a569d Mon Sep 17 00:00:00 2001 From: matijamarjanovic Date: Thu, 20 Feb 2025 16:11:55 +0100 Subject: [PATCH] update tests --- .../r/matijamarjanovic/gnoxchange/gnoxchange_test.gno | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/gno.land/r/matijamarjanovic/gnoxchange/gnoxchange_test.gno b/examples/gno.land/r/matijamarjanovic/gnoxchange/gnoxchange_test.gno index 53c9ef5a087..15043eee3bf 100644 --- a/examples/gno.land/r/matijamarjanovic/gnoxchange/gnoxchange_test.gno +++ b/examples/gno.land/r/matijamarjanovic/gnoxchange/gnoxchange_test.gno @@ -185,19 +185,19 @@ func TestCreateCoinToTokenTicket(t *testing.T) { } { - std.TestSetOrigSend(std.Coins{{"wrongcoin", 1000}}, nil) + std.TestSetOriginSend(std.Coins{{"wrongcoin", 1000}}, nil) _, err := CreateCoinToTokenTicket("ugnot", "gno.land/r/test/tickets.test_token", 1000, 24) uassert.Error(t, err, "Should fail with wrong coin denomination") } { - std.TestSetOrigSend(std.Coins{{"ugnot", 1000}, {"other", 500}}, nil) + std.TestSetOriginSend(std.Coins{{"ugnot", 1000}, {"other", 500}}, nil) _, err := CreateCoinToTokenTicket("ugnot", "gno.land/r/test/tickets.test_token", 1000, 24) uassert.Error(t, err, "Should fail with multiple coins") } { - std.TestSetOrigSend(std.Coins{{"ugnot", 1000}}, nil) + std.TestSetOriginSend(std.Coins{{"ugnot", 1000}}, nil) ticketID, err := CreateCoinToTokenTicket("ugnot", "gno.land/r/test/tickets.test_token", 1000, 24) urequire.NoError(t, err, "Should create ticket successfully") uassert.NotEmpty(t, ticketID, "Ticket ID should not be empty")