Skip to content

Commit 4e702b0

Browse files
committed
Add integration test for OrganizationVerifiedDomainEmails
1 parent 3e5be32 commit 4e702b0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Octokit.GraphQL.IntegrationTests/Queries/ViewerTests.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,15 @@ public async Task Viewer_By_GraphyQL_Matches_Api()
7878
//PublicGists
7979
//TotalPrivateRepos
8080
}
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+
}
8191
}
82-
}
92+
}

0 commit comments

Comments
 (0)