Fix tests
This commit is contained in:
parent
89715bdca7
commit
bf4e4de38c
@ -1,12 +0,0 @@
|
|||||||
package acllistbuilder
|
|
||||||
|
|
||||||
import (
|
|
||||||
"fmt"
|
|
||||||
"testing"
|
|
||||||
)
|
|
||||||
|
|
||||||
func Test_YamlParse(t *testing.T) {
|
|
||||||
tb, _ := NewListStorageWithTestName("userjoinexampleupdate.yml")
|
|
||||||
gr, _ := tb.Graph()
|
|
||||||
fmt.Println(gr)
|
|
||||||
}
|
|
||||||
@ -78,7 +78,8 @@ func (s *service) Handle(ctx context.Context, data []byte) (resp proto.Marshaler
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if spaceReq.SpaceId != "" {
|
if spaceReq.SpaceId != "" {
|
||||||
sp, err := s.get(ctx, spaceReq.SpaceId)
|
var sp Space
|
||||||
|
sp, err = s.get(ctx, spaceReq.SpaceId)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user