Skip to content

Commit beaec86

Browse files
[local_auth] Remove use of OCMock (#6757)
Adjusts the iOS implementation of local_auth to use a protocol wrapping the relevant parts of `LAContext` instead of using `LAContext` directly, allowing the tests to use a stub implementation instead of OCMock. The goal is to unblock converting the unit tests to Swift, but even by itself this actually makes the tests much shorter and easier to understand. Part of flutter/flutter#119104
1 parent bf2570a commit beaec86

File tree

6 files changed

+217
-232
lines changed

6 files changed

+217
-232
lines changed

packages/local_auth/local_auth_darwin/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.3.1
2+
3+
* Adjusts implementation for improved testability, and removes use of OCMock.
4+
15
## 1.3.0
26

37
* Adds Swift Package Manager compatibility.

0 commit comments

Comments
 (0)