Commit 7f348c0
committed
fix(tests): Update EncryptionWrapperTest for isEnabled() check
Updates EncryptionWrapperTest to mock isEnabled() return value,
which is now required after adding encryption enabled check to
wrapStorage() method.
Changes:
- Mock Manager::isEnabled() to return expected wrapping state
- Tests expecting wrapper (true) → isEnabled() returns true
- Tests expecting no wrapper (false) → isEnabled() returns false
This ensures the test validates the correct behavior:
- Wrapper applied only when encryption is enabled
- Wrapper skipped when encryption is disabled
Fixes test failures caused by refactored EncryptionWrapper logic.
Signed-off-by: Stephen Cuppett <[email protected]>1 parent 634d025 commit 7f348c0
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
0 commit comments