You've already forked RekomenciMobile
<type>(scope): <description>
[body] [footer(s)]
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ data class ResumeEntity(
|
||||
fromSalary,
|
||||
toSalary
|
||||
),
|
||||
recommendedSkills = recommendedSkills.split("|"),
|
||||
recommendedSkills = if (recommendedSkills.isBlank()) emptyList() else recommendedSkills.split("|").filter { it.isNotBlank() },
|
||||
city = city,
|
||||
experience = JsonTypeConverters.toWorkExperienceList(experience),
|
||||
education = JsonTypeConverters.toEducationList(education),
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ data class ResumeHistoryEntity(
|
||||
experienceType = ExperienceType.valueOf(experienceType),
|
||||
skills = keySkills.split("|"),
|
||||
prediction = Pair(fromSalary, toSalary),
|
||||
recommendedSkills = recommendedSkills.split("|"),
|
||||
recommendedSkills = if (recommendedSkills.isBlank()) emptyList() else recommendedSkills.split("|").filter { it.isNotBlank() },
|
||||
city = city,
|
||||
experience = JsonTypeConverters.toWorkExperienceList(experience),
|
||||
education = JsonTypeConverters.toEducationList(education),
|
||||
|
||||
@@ -71,8 +71,8 @@ data class ResumeDTO(
|
||||
experienceType = experienceType.mapToDomain(),
|
||||
prediction = prediction?.let {
|
||||
Pair(
|
||||
it.fromSalary.toIntOrNull(),
|
||||
it.toSalary.toIntOrNull()
|
||||
it.fromSalary.toDoubleOrNull()?.toInt(),
|
||||
it.toSalary.toDoubleOrNull()?.toInt()
|
||||
)
|
||||
},
|
||||
recommendedSkills = prediction?.recommendedSkills,
|
||||
@@ -87,8 +87,8 @@ data class ResumeDTO(
|
||||
aboutMe = aboutMe,
|
||||
keySkills = keySkills.joinToString("|"),
|
||||
position = position,
|
||||
fromSalary = prediction?.fromSalary?.toIntOrNull(),
|
||||
toSalary = prediction?.toSalary?.toIntOrNull(),
|
||||
fromSalary = prediction?.fromSalary?.toDoubleOrNull()?.toInt(),
|
||||
toSalary = prediction?.toSalary?.toDoubleOrNull()?.toInt(),
|
||||
recommendedSkills = prediction?.recommendedSkills?.joinToString("|") ?: "",
|
||||
experienceType = experienceType.mapToDomain().name,
|
||||
city = city,
|
||||
|
||||
@@ -64,7 +64,12 @@ fun ErrorCollectorScope.LoginScreen(
|
||||
Pair("user2@mail.ru", "qQW!!!.rty3nqc18123"),
|
||||
Pair("user3@mail.ru", "qQW!!!.rty3nqc18123"),
|
||||
Pair("user4@mail.ru", "qQW!!!.rty3nqc18123"),
|
||||
Pair("user5@mail.ru", "qQW!!!.rty3nqc18123")
|
||||
Pair("user5@mail.ru", "qQW!!!.rty3nqc18123"),
|
||||
Pair("user6@mail.ru", "qQW!!!.rty3nqc18123"),
|
||||
Pair("user7@mail.ru", "qQW!!!.rty3nqc18123"),
|
||||
Pair("user8@mail.ru", "qQW!!!.rty3nqc18123"),
|
||||
Pair("user9@mail.ru", "qQW!!!.rty3nqc18123"),
|
||||
Pair("user10@mail.ru", "qQW!!!.rty3nqc18123"),
|
||||
)
|
||||
|
||||
val typography = MaterialTheme.typography
|
||||
|
||||
+4
-1
@@ -30,7 +30,10 @@ class GetDefaultPhoneNumberPatternUseCaseTest {
|
||||
|
||||
if (result != null) {
|
||||
// If a pattern is found, it should match the system locale
|
||||
assertEquals(systemLocale, result.countryCodeISO, ignoreCase = true)
|
||||
assertTrue(
|
||||
"Pattern country code should match system locale",
|
||||
systemLocale.equals(result.countryCodeISO, ignoreCase = true)
|
||||
)
|
||||
} else {
|
||||
// If no pattern found, system locale might not be in the list
|
||||
val hasPatternForLocale = PhoneNumberPatternsProvider.phoneNumberPatterns.any {
|
||||
|
||||
Reference in New Issue
Block a user