Skip to content

Commit f1671be

Browse files
committed
Removed stanley fiddling around.
1 parent b6a14e3 commit f1671be

File tree

1 file changed

+0
-62
lines changed

1 file changed

+0
-62
lines changed

Octokit.GraphQL.Core.UnitTests/QueryBuilderTests.cs

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,68 +1097,6 @@ ... on IssueComment {
10971097
Assert.Equal(expected, query.ToString(2), ignoreLineEndingDifferences: true);
10981098
}
10991099

1100-
[Fact]
1101-
public void Select_Nodes_Then_AllPage()
1102-
{
1103-
var expected = @"query {
1104-
repository(owner: ""github"", name: ""visualstudio"") {
1105-
pullRequest(number: 1864) {
1106-
commits(last: 1) {
1107-
nodes {
1108-
commit {
1109-
id
1110-
checkSuites(first: 10) {
1111-
pageInfo {
1112-
hasNextPage
1113-
endCursor
1114-
}
1115-
nodes {
1116-
id
1117-
checkRuns(first: 10) {
1118-
pageInfo {
1119-
hasNextPage
1120-
endCursor
1121-
}
1122-
nodes {
1123-
checkRunId: id
1124-
name
1125-
annotations(first: 100) {
1126-
pageInfo {
1127-
hasNextPage
1128-
endCursor
1129-
}
1130-
nodes {
1131-
path
1132-
}
1133-
}
1134-
}
1135-
}
1136-
}
1137-
}
1138-
}
1139-
}
1140-
}
1141-
}
1142-
}
1143-
}";
1144-
1145-
Arg<IEnumerable<string>>? labels = new[] { "asdf" };
1146-
1147-
var expression = new Query()
1148-
.Repository("github", "visualstudio").Issues(last: 1).Nodes.Select(issue => new
1149-
{
1150-
Comments = issue.Comments(null, null, null, null)
1151-
.AllPages()
1152-
.Select(comment => comment.Body)
1153-
.ToList()
1154-
});
1155-
1156-
var query = expression.Compile();
1157-
1158-
var actual = query.ToString(2);
1159-
Assert.Equal(expected, actual, ignoreLineEndingDifferences: true);
1160-
}
1161-
11621100
[Fact]
11631101
public void Repository_PullRequest_CheckRun_Normal_Id()
11641102
{

0 commit comments

Comments
 (0)