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

[google_sign_in] Switch unit tests to mock platform implementation #5703

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
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