-
Notifications
You must be signed in to change notification settings - Fork 208
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
Stop using keychain in integration tests #391
Stop using keychain in integration tests #391
Conversation
acc091c
to
bacab8a
Compare
@@ -144,3 +144,37 @@ public class SecureStorageAccesDefaultImpl: SecureStorageAccess { | |||
} | |||
} | |||
} | |||
|
|||
public class SecureStorageAccessTestImpl: SecureStorageAccess { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this live next to test code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair point, let me poke at this
|
||
/// Only for use in tests. Resets DropboxOAuthManager so a new one for Team client use can be set up. | ||
@objc | ||
public static func __test_only_resetForTeamSetup() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here- shouldn't this live in /TestSwiftyDropbox?
This PR:
groupsUpdate
would collide on a group name. The group was always previously deleted, but trying to recreate it immediately could problematically occur before some cleanup or state propagation.