File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ void main() {
16
16
test ('listCommits' , () async {
17
17
final repositories = create ((request) async {
18
18
expect (request.url.path, '/repos/${slug .fullName }/commits' );
19
- expect (request.url.query, 'page=1' );
19
+ expect (request.url.query, isEmpty );
20
20
21
21
return Response (listCommits, StatusCodes .OK );
22
22
});
@@ -29,7 +29,7 @@ void main() {
29
29
expect (request.url.path, '/repos/${slug .fullName }/commits' );
30
30
expect (
31
31
request.url.query,
32
- 'author=octocat&committer=octodog&sha=abc&path=%2Fpath&since=2022-02-22T00%3A00%3A00.000&until=2023-02-22T00%3A00%3A00.000&page=1 ' ,
32
+ 'author=octocat&committer=octodog&sha=abc&path=%2Fpath&since=2022-02-22T00%3A00%3A00.000&until=2023-02-22T00%3A00%3A00.000' ,
33
33
);
34
34
return Response (listCommits, StatusCodes .OK );
35
35
});
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ void main() {
172
172
test ('code search' , () async {
173
173
nock (fakeApiUrl)
174
174
.get (
175
- '/search/code?q=search%20repo%3ASpinlockLabs%2Fgithub.dart%20in%3Afile&per_page=20&page=1 ' )
175
+ '/search/code?q=search%20repo%3ASpinlockLabs%2Fgithub.dart%20in%3Afile&per_page=20' )
176
176
.reply (200 , nocked.searchResults);
177
177
178
178
final results = (await github.search
You can’t perform that action at this time.
0 commit comments