diff --git a/CHANGELOG.md b/CHANGELOG.md index 28dd8e9..d63a6b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.15.1 + +Implemented `idTokenChanges`. [PR-125](https://github.com/atn832/firebase_auth_mocks/pull/126). Thank you [vinifig](https://github.com/vinifig)! + ## 0.15.0 - Upgraded firebase_auth dependency to ^6.0.0. [PR-120](https://github.com/atn832/firebase_auth_mocks/pull/120). Thank you [jt274](https://github.com/jt274)! diff --git a/pubspec.yaml b/pubspec.yaml index b8372be..ea05873 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_auth_mocks description: Fakes for Firebase Auth. Use this package with `google_sign_in_mocks` to write unit tests involving Firebase Authentication. -version: 0.15.0 +version: 0.15.1 homepage: https://www.wafrat.com repository: https://github.com/atn832/firebase_auth_mocks diff --git a/test/firebase_auth_mocks_test.dart b/test/firebase_auth_mocks_test.dart index 4d5a087..4b70adc 100644 --- a/test/firebase_auth_mocks_test.dart +++ b/test/firebase_auth_mocks_test.dart @@ -274,7 +274,8 @@ void main() { expect(auth.authStateChanges(), emitsInOrder([user, null, auth.currentUser])); expect(auth.userChanges(), emitsInOrder([user, null, auth.currentUser])); - expect(auth.idTokenChanges(), emitsInOrder([user, null, auth.currentUser])); + expect( + auth.idTokenChanges(), emitsInOrder([user, null, auth.currentUser])); }); test('Can sign in anonymously after sign out', () async { @@ -290,7 +291,8 @@ void main() { expect(auth.authStateChanges(), emitsInOrder([user, null, auth.currentUser])); expect(auth.userChanges(), emitsInOrder([user, null, auth.currentUser])); - expect(auth.idTokenChanges(), emitsInOrder([user, null, auth.currentUser])); + expect( + auth.idTokenChanges(), emitsInOrder([user, null, auth.currentUser])); }); });