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

Commit 0e6b141

Browse files
committed
Fixed tests.
1 parent 9eaba3c commit 0e6b141

File tree

4 files changed

+9
-16
lines changed

4 files changed

+9
-16
lines changed

packages/local_auth/local_auth/CHANGELOG.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
## 2.1.0
2-
* Adds Windows support.
3-
41
## 2.0.0
52

63
* Migrates plugin to federated architecture.

packages/local_auth/local_auth/example/windows/flutter/generated_plugins.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#
44

55
list(APPEND FLUTTER_PLUGIN_LIST
6-
local_auth_windows
76
)
87

98
set(PLUGIN_BUNDLED_LIBRARIES)

packages/local_auth/local_auth/pubspec.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for Android and iOS devices to allow local
33
authentication via fingerprint, touch ID, face ID, passcode, pin, or pattern.
44
repository: https://github.com/flutter/plugins/tree/main/packages/local_auth/local_auth
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
6-
version: 2.1.0
6+
version: 2.0.0
77

88
environment:
99
sdk: ">=2.14.0 <3.0.0"
@@ -16,16 +16,18 @@ flutter:
1616
default_package: local_auth_android
1717
ios:
1818
default_package: local_auth_ios
19-
windows:
20-
default_package: local_auth_windows
19+
# Uncomment once the PR #4806 is merged.
20+
# windows:
21+
# default_package: local_auth_windows
2122

2223
dependencies:
2324
flutter:
2425
sdk: flutter
2526
intl: ^0.17.0
2627
local_auth_android: ^1.0.0
2728
local_auth_ios: ^1.0.1
28-
local_auth_windows: ^1.0.0
29+
# Uncomment once the PR #4806 is merged.
30+
# local_auth_windows: ^1.0.0
2931
local_auth_platform_interface: ^1.0.1
3032

3133
dev_dependencies:

packages/local_auth/local_auth_windows/test/local_auth_test.dart

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,9 @@ void main() {
7474
);
7575
});
7676

77-
test('stopAuthentication calls platform', () async {
78-
await localAuthentication.stopAuthentication();
79-
expect(
80-
log,
81-
<Matcher>[
82-
isMethodCall('stopAuthentication', arguments: null),
83-
],
84-
);
77+
test('stopAuthentication returns false', () async {
78+
final bool result = await localAuthentication.stopAuthentication();
79+
expect(result, false);
8580
});
8681

8782
group('With device auth fail over', () {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy