Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

Pass a Uri to package:http APIs #86

Merged
merged 1 commit into from
Dec 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 0.2.12+2-dev

## 0.2.12+1

* Removed a `dart:async` import that isn't required for \>=Dart 2.1.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: googleapis_auth
version: 0.2.12+1
version: 0.2.12+2-dev
author: Dart Team <misc@dartlang.org>
description: Obtain Access credentials for Google services using OAuth 2.0
homepage: https://github.com/dart-lang/googleapis_auth
Expand Down
4 changes: 2 additions & 2 deletions test/oauth2_flows/metadata_server_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ main() {
var flow = new MetadataServerAuthorizationFlow(mockClient(
expectAsync1((request) {
if (requestNr++ == 0)
return transportFailure.get('http://failure');
return transportFailure.get(Uri.http('failure', ''));
else
return successfulScopes(request);
}, count: 2),
Expand All @@ -110,7 +110,7 @@ main() {
if (requestNr++ == 0)
return successfulAccessToken(request);
else
return transportFailure.get('http://failure');
return transportFailure.get(Uri.http('failure', ''));
}, count: 2),
expectClose: false));
expect(flow.run(), throwsA(isTransportException));
Expand Down