(login string)
| 3844 | } |
| 3845 | |
| 3846 | func viewerQuery(login string) githubv4mock.Matcher { |
| 3847 | return githubv4mock.NewQueryMatcher( |
| 3848 | struct { |
| 3849 | Viewer struct { |
| 3850 | Login githubv4.String |
| 3851 | } `graphql:"viewer"` |
| 3852 | }{}, |
| 3853 | map[string]any{}, |
| 3854 | githubv4mock.DataResponse(map[string]any{ |
| 3855 | "viewer": map[string]any{ |
| 3856 | "login": login, |
| 3857 | }, |
| 3858 | }), |
| 3859 | ) |
| 3860 | } |
| 3861 | |
| 3862 | type getLatestPendingReviewQueryReview struct { |
| 3863 | id string |
no test coverage detected