Move tests to snapshots
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
type Response struct {
|
||||
User *struct {
|
||||
Roles []role `json:"roles"`
|
||||
} `json:"user"`
|
||||
}
|
||||
|
||||
type role string
|
||||
|
||||
const (
|
||||
studentRole role = "STUDENT"
|
||||
teacherRole role = "TEACHER"
|
||||
)
|
||||
Reference in New Issue
Block a user