Skip to content

Commit

Permalink
fix: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hthieu1110 committed Feb 12, 2025
1 parent 38bca55 commit 285511e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/gno.land/r/demo/users/z_11_filetest.gno
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
const admin = std.Address("g1manfred47kzduec920z88wfr64ylksmdcedlf5")

func main() {
std.TestSetOrigCaller(admin)
testing.SetOriginCaller(admin)
caller := std.GetOrigCaller() // main
users.AdminAddRestrictedName("superrestricted")

Expand Down
2 changes: 1 addition & 1 deletion examples/gno.land/r/demo/users/z_11b_filetest.gno
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
const admin = std.Address("g1manfred47kzduec920z88wfr64ylksmdcedlf5")

func main() {
std.TestSetOrigCaller(admin)
testing.SetOriginCaller(admin)
caller := std.GetOrigCaller() // main
// add restricted name
users.AdminAddRestrictedName("superrestricted")
Expand Down

0 comments on commit 285511e

Please sign in to comment.