mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
BIT-2297: Update the values for UriMatchType to ensure a proper migration (#1313)
This commit is contained in:
parent
986d454f16
commit
2ae3ff64a8
2 changed files with 8 additions and 8 deletions
|
@ -24,16 +24,16 @@ enum class UriMatchType(
|
|||
*/
|
||||
STARTS_WITH(2),
|
||||
|
||||
/**
|
||||
* The URIs match if they are exactly the same.
|
||||
*/
|
||||
EXACT(3),
|
||||
|
||||
/**
|
||||
* The URIs match if the "test" URI matches the known URI according to a specified regular
|
||||
* expression for the item.
|
||||
*/
|
||||
REGULAR_EXPRESSION(3),
|
||||
|
||||
/**
|
||||
* The URIs match if they are exactly the same.
|
||||
*/
|
||||
EXACT(4),
|
||||
REGULAR_EXPRESSION(4),
|
||||
|
||||
/**
|
||||
* The URIs should never match.
|
||||
|
|
|
@ -520,7 +520,7 @@ class SettingsDiskSourceTest {
|
|||
.edit {
|
||||
putInt(
|
||||
"${defaultUriMatchTypeBaseKey}_$mockUserId",
|
||||
3,
|
||||
4,
|
||||
)
|
||||
}
|
||||
val actual = settingsDiskSource.getDefaultUriMatchType(userId = mockUserId)
|
||||
|
@ -550,7 +550,7 @@ class SettingsDiskSourceTest {
|
|||
0,
|
||||
)
|
||||
assertEquals(
|
||||
3,
|
||||
4,
|
||||
actual,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue