Skip to content

Commit f179563

Browse files
Warning golf
1 parent e2ad352 commit f179563

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Octokit.GraphQL.IntegrationTests/Queries/RepositoryTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public async Task Should_Run_Readme_Query()
5050
{ "name", "octokit.graphql.net" },
5151
};
5252

53-
var result = Connection.Run(query, vars).Result;
53+
var result = await Connection.Run(query, vars);
5454
Assert.Equal(result.Login, "octokit");
5555
Assert.Equal(result.Name, "octokit.graphql.net");
5656
}
@@ -437,7 +437,6 @@ class TestModelObject
437437
public string StringField1;
438438
public string StringField2;
439439
public int IntField1;
440-
public int IntField2;
441440
}
442441

443442
public class OwnerModel

0 commit comments

Comments
 (0)