z_5_b_filetest.gno
0.37 Kb ยท 19 lines
1package main
2
3import (
4 "std"
5 "testing"
6
7 boards2 "gno.land/r/gnoland/boards2/v1"
8)
9
10const owner = std.Address("g1us8428u2a5satrlxzagqqa5m6vmuze025anjlj") // @test2
11
12func main() {
13 testing.SetRealm(std.NewUserRealm(owner))
14
15 boards2.RemoveMember(cross, 0, "g1w4ek2u33ta047h6lta047h6lta047h6ldvdwpn") // Operate on realm DAO instead of individual boards
16}
17
18// Error:
19// unauthorized