Skip to content

Commit 1c6305c

Browse files
committed
Allow Bio and Company to be null
1 parent 8e0064d commit 1c6305c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Octokit.GraphQL.IntegrationTests/Queries/ViewerTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ public async Task Viewer_By_GraphyQL_Matches_Api()
5353
Assert.NotNull(graphqlUser);
5454

5555
Assert.Equal(apiUser.AvatarUrl, graphqlUser.AvatarUrl);
56-
Assert.Equal(apiUser.Bio ?? string.Empty, graphqlUser.Bio);
57-
Assert.Equal(apiUser.Company ?? string.Empty, graphqlUser.Company);
56+
Assert.Equal(apiUser.Bio, graphqlUser.Bio);
57+
Assert.Equal(apiUser.Company, graphqlUser.Company);
5858

5959
Assert.Equal(apiUser.CreatedAt.ToUniversalTime(), graphqlUser.CreatedAt.ToUniversalTime());
6060

0 commit comments

Comments
 (0)