File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -67,27 +67,27 @@ func Test_ListDiscussions(t *testing.T) {
67
67
68
68
// Variables matching what GraphQL receives after JSON marshaling/unmarshaling
69
69
varsListAll := map [string ]interface {}{
70
- "owner" : "owner" ,
71
- "repo" : "repo" ,
70
+ "owner" : githubv4 . String ( "owner" ) ,
71
+ "repo" : githubv4 . String ( "repo" ) ,
72
72
"first" : float64 (30 ),
73
73
"last" : nil ,
74
74
"after" : nil ,
75
75
"before" : nil ,
76
76
}
77
77
78
78
varsRepoNotFound := map [string ]interface {}{
79
- "owner" : "owner" ,
80
- "repo" : "nonexistent-repo" ,
79
+ "owner" : githubv4 . String ( "owner" ) ,
80
+ "repo" : githubv4 . String ( "nonexistent-repo" ) ,
81
81
"first" : float64 (30 ),
82
82
"last" : nil ,
83
83
"after" : nil ,
84
84
"before" : nil ,
85
85
}
86
86
87
87
varsDiscussionsFiltered := map [string ]interface {}{
88
- "owner" : "owner" ,
89
- "repo" : "repo" ,
90
- "categoryId" : "DIC_kwDOABC123" ,
88
+ "owner" : githubv4 . String ( "owner" ) ,
89
+ "repo" : githubv4 . String ( "repo" ) ,
90
+ "categoryId" : githubv4 . ID ( "DIC_kwDOABC123" ) ,
91
91
"first" : float64 (30 ),
92
92
"last" : nil ,
93
93
"after" : nil ,
You can’t perform that action at this time.
0 commit comments