Skip to content

Commit 607702a

Browse files
build(deps): bump intl from 0.18.1 to 0.20.3 in /auth0_flutter_platform_interface (#881)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: utkrishtS <utkrisht.sahu@okta.com>
1 parent 4f523f6 commit 607702a

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

auth0_flutter_platform_interface/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dev_dependencies:
1919
flutter_lints: ^2.0.1
2020
flutter_test:
2121
sdk: flutter
22-
intl: ^0.18.0
22+
intl: ">=0.18.0 <0.21.0"
2323
mockito: ^5.1.0
2424

2525
# For information on the generic Dart part of this file, see the

auth0_flutter_platform_interface/test/credentials_test.dart

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ void main() {
3030
);
3131
});
3232

33-
test('Credentials throws when expiresAt Locale set to ar', () async {
33+
test('Credentials does not throw when expiresAt Locale set to ar',
34+
() async {
35+
initializeDateFormatting();
3436
final dateTime = DateTime(2022);
3537
final isoDateTimeString = _formatISOTime(dateTime, 'ar');
3638

3739
expect(
38-
() => Credentials.fromMap({
40+
Credentials.fromMap({
3941
'accessToken': 'accessToken',
4042
'idToken': 'idToken',
4143
'refreshToken': 'refreshToken',
@@ -44,7 +46,7 @@ void main() {
4446
'userProfile': {'sub': '123', 'name': 'John Doe'},
4547
'tokenType': 'Bearer',
4648
}),
47-
throwsA(isA<FormatException>()),
49+
isA<Credentials>(),
4850
);
4951
});
5052

0 commit comments

Comments
 (0)