Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash in Auth when running unit tests #4

Merged
merged 3 commits into from
Sep 17, 2024

Conversation

aashishpatil-g
Copy link
Collaborator

Fixes the crash in Auth when running Unit Tests. This is because the Auth SDK expects an API key in 11.x SDK. The tests were not supplying a dummy key.

Copy link
Member

@paulb777 paulb777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@paulb777
Copy link
Member

May also need to make separate targets in Package.swift for unit and integration tests

Copy link
Member

@paulb777 paulb777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming the tests run locally, OK to merge here and address CI issues separately. either way.

@aashishpatil-g
Copy link
Collaborator Author

Yes, Unit tests are succeeding locally. I'll start a separate PR to fix the TODO and create a separate Unit Test target

@aashishpatil-g aashishpatil-g merged commit 4ee870a into main Sep 17, 2024
18 checks passed
@aashishpatil-g aashishpatil-g deleted the ap/unitTestAuthCrashFix branch September 17, 2024 23:17
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.

2 participants