(subject string, role UserRole)
| 30 | } |
| 31 | |
| 32 | func userCtx(subject string, role UserRole) context.Context { |
| 33 | return ContextWithUser(context.Background(), &UserInfo{Subject: subject, Role: role}) |
| 34 | } |
| 35 | |
| 36 | func TestHubResolveAppendReadFlow(t *testing.T) { |
| 37 | h := newHubHandler(t) |
no test coverage detected