Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
Signed-off-by: Norman <[email protected]>
  • Loading branch information
n0izn0iz committed Dec 28, 2024
1 parent e9f39fb commit 68b6e6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions examples/gno.land/r/demo/sessions/sessions.gno
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ var (
source std.Realm
)

const NoExpiry = int64(0)

func init() {
sessions = make(map[string]map[string]*time.Time)
source = std.CurrentRealm()
Expand Down
2 changes: 1 addition & 1 deletion examples/gno.land/r/demo/sessions/sessions_test.gno
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestSessions(t *testing.T) {
{
std.TestSetRealm(aliceRealm)

Login(bobAddr, nil)
Login(bobAddr, NoExpiry)

std.TestSetRealm(bobRealm)

Expand Down

0 comments on commit 68b6e6b

Please sign in to comment.