Skip to content

test: fix preflight tests that were skipped due to environment#70

Closed
Patel230 wants to merge 2 commits into
mainfrom
test/fix-preflight-skips
Closed

test: fix preflight tests that were skipped due to environment#70
Patel230 wants to merge 2 commits into
mainfrom
test/fix-preflight-skips

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

Fixes test failures for preflight check tests by using a failing mock store instead of environment-skipping the tests.

Changes

  • Added mock type that always returns errors for credential store operations
  • Updated to use the mock store instead of skipping
  • Updated to use the mock store instead of skipping

This ensures the tests properly validate credential failure handling in all environments, not just those where the keychain behaves unexpectedly.

Patel230 added 2 commits July 16, 2026 08:24
- Added failingStore mock type for deterministic credential fail testing
- TestPreflight_NotReady_WhenCredentialsFail now uses failing store
- TestPreflight_MultipleFailures now uses failing store
- Eliminates environment-dependent test skips
@Patel230
Patel230 enabled auto-merge (squash) July 16, 2026 04:10
@Patel230
Patel230 disabled auto-merge July 16, 2026 04:16
@Patel230 Patel230 closed this Jul 16, 2026
@Patel230
Patel230 deleted the test/fix-preflight-skips branch July 16, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant