File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Octokit.GraphQL.IntegrationTests/Queries Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -78,5 +78,15 @@ public async Task Viewer_By_GraphyQL_Matches_Api()
78
78
//PublicGists
79
79
//TotalPrivateRepos
80
80
}
81
+
82
+ [ IntegrationTest ]
83
+ public async Task Viewer_Has_No_OrganizationVerifiedDomainEmails_For_Octokit ( )
84
+ {
85
+ var query = new GraphQL . Query ( ) . Viewer . Select ( user => user . OrganizationVerifiedDomainEmails ( "octokit" ) . ToList ( ) ) ;
86
+
87
+ var emails = await Connection . Run ( query ) ;
88
+
89
+ Assert . Empty ( emails ) ;
90
+ }
81
91
}
82
- }
92
+ }
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ internal User(Expression expression) : base(expression)
218
218
/// Verified email addresses that match verified domains for a specified organization the user is a member of.
219
219
/// </summary>
220
220
/// <param name="login">The login of the organization to match verified domains from.</param>
221
- // public IEnumerable<string> OrganizationVerifiedDomainEmails(Arg<string> login) => this.CreateMethodCall(x => x.OrganizationVerifiedDomainEmails(login));
221
+ public IEnumerable < string > OrganizationVerifiedDomainEmails ( Arg < string > login ) => this . CreateMethodCall ( x => x . OrganizationVerifiedDomainEmails ( login ) ) ;
222
222
223
223
/// <summary>
224
224
/// A list of organizations the user belongs to.
You can’t perform that action at this time.
0 commit comments