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) {
6767
6868 // Variables matching what GraphQL receives after JSON marshaling/unmarshaling
6969 varsListAll := map [string ]interface {}{
70- "owner" : "owner" ,
71- "repo" : "repo" ,
70+ "owner" : githubv4 . String ( "owner" ) ,
71+ "repo" : githubv4 . String ( "repo" ) ,
7272 "first" : float64 (30 ),
7373 "last" : nil ,
7474 "after" : nil ,
7575 "before" : nil ,
7676 }
7777
7878 varsRepoNotFound := map [string ]interface {}{
79- "owner" : "owner" ,
80- "repo" : "nonexistent-repo" ,
79+ "owner" : githubv4 . String ( "owner" ) ,
80+ "repo" : githubv4 . String ( "nonexistent-repo" ) ,
8181 "first" : float64 (30 ),
8282 "last" : nil ,
8383 "after" : nil ,
8484 "before" : nil ,
8585 }
8686
8787 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" ) ,
9191 "first" : float64 (30 ),
9292 "last" : nil ,
9393 "after" : nil ,
You can’t perform that action at this time.
0 commit comments