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

Commit

Permalink
[google_sign_in] Switch unit tests to mock platform implementation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartmorgan authored May 13, 2022
1 parent 3eedf6c commit 3d995d4
Show file tree
Hide file tree
Showing 4 changed files with 260 additions and 251 deletions.
3 changes: 2 additions & 1 deletion packages/google_sign_in/google_sign_in/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## NEXT

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

## 5.3.1

Expand Down
2 changes: 2 additions & 0 deletions packages/google_sign_in/google_sign_in/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ dependencies:
google_sign_in_web: ^0.10.0

dev_dependencies:
build_runner: ^2.1.10
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
http: ^0.13.0
integration_test:
sdk: flutter
mockito: ^5.1.0

# The example deliberately includes limited-use secrets.
false_secrets:
Expand Down
Loading

0 comments on commit 3d995d4

Please sign in to comment.