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

Commit 3d995d4

Browse files
[google_sign_in] Switch unit tests to mock platform implementation (#5703)
1 parent 3eedf6c commit 3d995d4

File tree

4 files changed

+260
-251
lines changed

4 files changed

+260
-251
lines changed

packages/google_sign_in/google_sign_in/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## NEXT
22

3-
* Fixes tests to recognize new default `forceCodeForRefreshToken` request attribute.
3+
* Updates tests to use a mock platform instead of relying on default
4+
method channel implementation internals.
45

56
## 5.3.1
67

packages/google_sign_in/google_sign_in/pubspec.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ dependencies:
2929
google_sign_in_web: ^0.10.0
3030

3131
dev_dependencies:
32+
build_runner: ^2.1.10
3233
flutter_driver:
3334
sdk: flutter
3435
flutter_test:
3536
sdk: flutter
3637
http: ^0.13.0
3738
integration_test:
3839
sdk: flutter
40+
mockito: ^5.1.0
3941

4042
# The example deliberately includes limited-use secrets.
4143
false_secrets:

0 commit comments

Comments
 (0)