Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)!
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand Down
6 changes: 4 additions & 2 deletions test/firebase_auth_mocks_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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]));
});
});

Expand Down