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