Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit d76b52d

Browse files
authored
[google_sign_in] Fix tests to recognize new request attribute. (#5702)
1 parent c13e8a5 commit d76b52d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/google_sign_in/google_sign_in/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## NEXT
2+
3+
* Fixes tests to recognize new default `forceCodeForRefreshToken` request attribute.
4+
15
## 5.3.1
26

37
* Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors

packages/google_sign_in/google_sign_in/test/google_sign_in_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ void main() {
9696
'scopes': <String>[],
9797
'hostedDomain': null,
9898
'clientId': fakeClientId,
99+
'forceCodeForRefreshToken': false,
99100
}),
100101
isMethodCall('signIn', arguments: null),
101102
],
@@ -431,5 +432,6 @@ Matcher _isSignInMethodCall({String signInOption = 'SignInOption.standard'}) {
431432
'scopes': <String>[],
432433
'hostedDomain': null,
433434
'clientId': null,
435+
'forceCodeForRefreshToken': false,
434436
});
435437
}

0 commit comments

Comments
 (0)