-
Notifications
You must be signed in to change notification settings - Fork 889
Update SDK to 1.0.0-2681-1a956d45 #5756
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
Conversation
Great job! No new security vulnerabilities introduced in this pull request |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5756 +/- ##
=======================================
Coverage 83.84% 83.84%
=======================================
Files 692 692
Lines 52992 53005 +13
Branches 7308 7309 +1
=======================================
+ Hits 44431 44442 +11
- Misses 5993 5994 +1
- Partials 2568 2569 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@@ -2,7 +2,7 @@ | |||
"formatVersion": 1, | |||
"database": { | |||
"version": 7, | |||
"identityHash": "4c6ad1f5268d7e8add7407201788aa2e", | |||
"identityHash": "11387825dab701f9d2dd2e940ffbd794", |
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.
Changes to this file need to be reverted, and the database version needs to be incremented to prevent this scheme from being regenerated.
defaultUserCollectionEmail = null, | ||
type = CollectionType.SHARED_COLLECTION, |
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.
Should this.defaultUserCollectionEmail
and this.type
be passed through, or are we using hard-coded values for a reason?
app/src/main/kotlin/com/x8bit/bitwarden/data/vault/datasource/disk/database/VaultDatabase.kt
Show resolved
Hide resolved
import com.bitwarden.network.model.SyncResponseJson | ||
import com.x8bit.bitwarden.data.vault.datasource.sdk.model.createMockCollectionView | ||
import org.junit.Assert |
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.
Can we drop this, we alreade import import org.junit.jupiter.api.Assertions.assertEquals
a few lines down
fun createMockCollectionView( | ||
number: Int, | ||
name: String? = null, | ||
readOnly: Boolean = false, | ||
manage: Boolean = true, | ||
hidePasswords: Boolean = false, | ||
type: CollectionType = CollectionType.SHARED_COLLECTION, |
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.
I think Patrick had left a comment about this earlier, but doe we want to use DEFAULT_USER_COLLECTION
as the defaults?
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.
We want to use as default CollectionType.SHARED_COLLECTION, that's what the AC team shared with us.
Updates the SDK version from
1.0.0-2450-9fe3aeda
tocom.bitwarden:sdk-android 1.0.0-2681-1a956d45
What's Changed
Raw changelog