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,
|
fromSalary,
|
||||||
toSalary
|
toSalary
|
||||||
),
|
),
|
||||||
recommendedSkills = recommendedSkills.split("|"),
|
recommendedSkills = if (recommendedSkills.isBlank()) emptyList() else recommendedSkills.split("|").filter { it.isNotBlank() },
|
||||||
city = city,
|
city = city,
|
||||||
experience = JsonTypeConverters.toWorkExperienceList(experience),
|
experience = JsonTypeConverters.toWorkExperienceList(experience),
|
||||||
education = JsonTypeConverters.toEducationList(education),
|
education = JsonTypeConverters.toEducationList(education),
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ data class ResumeHistoryEntity(
|
|||||||
experienceType = ExperienceType.valueOf(experienceType),
|
experienceType = ExperienceType.valueOf(experienceType),
|
||||||
skills = keySkills.split("|"),
|
skills = keySkills.split("|"),
|
||||||
prediction = Pair(fromSalary, toSalary),
|
prediction = Pair(fromSalary, toSalary),
|
||||||
recommendedSkills = recommendedSkills.split("|"),
|
recommendedSkills = if (recommendedSkills.isBlank()) emptyList() else recommendedSkills.split("|").filter { it.isNotBlank() },
|
||||||
city = city,
|
city = city,
|
||||||
experience = JsonTypeConverters.toWorkExperienceList(experience),
|
experience = JsonTypeConverters.toWorkExperienceList(experience),
|
||||||
education = JsonTypeConverters.toEducationList(education),
|
education = JsonTypeConverters.toEducationList(education),
|
||||||
|
|||||||
@@ -71,8 +71,8 @@ data class ResumeDTO(
|
|||||||
experienceType = experienceType.mapToDomain(),
|
experienceType = experienceType.mapToDomain(),
|
||||||
prediction = prediction?.let {
|
prediction = prediction?.let {
|
||||||
Pair(
|
Pair(
|
||||||
it.fromSalary.toIntOrNull(),
|
it.fromSalary.toDoubleOrNull()?.toInt(),
|
||||||
it.toSalary.toIntOrNull()
|
it.toSalary.toDoubleOrNull()?.toInt()
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
recommendedSkills = prediction?.recommendedSkills,
|
recommendedSkills = prediction?.recommendedSkills,
|
||||||
@@ -87,8 +87,8 @@ data class ResumeDTO(
|
|||||||
aboutMe = aboutMe,
|
aboutMe = aboutMe,
|
||||||
keySkills = keySkills.joinToString("|"),
|
keySkills = keySkills.joinToString("|"),
|
||||||
position = position,
|
position = position,
|
||||||
fromSalary = prediction?.fromSalary?.toIntOrNull(),
|
fromSalary = prediction?.fromSalary?.toDoubleOrNull()?.toInt(),
|
||||||
toSalary = prediction?.toSalary?.toIntOrNull(),
|
toSalary = prediction?.toSalary?.toDoubleOrNull()?.toInt(),
|
||||||
recommendedSkills = prediction?.recommendedSkills?.joinToString("|") ?: "",
|
recommendedSkills = prediction?.recommendedSkills?.joinToString("|") ?: "",
|
||||||
experienceType = experienceType.mapToDomain().name,
|
experienceType = experienceType.mapToDomain().name,
|
||||||
city = city,
|
city = city,
|
||||||
|
|||||||
@@ -64,7 +64,12 @@ fun ErrorCollectorScope.LoginScreen(
|
|||||||
Pair("user2@mail.ru", "qQW!!!.rty3nqc18123"),
|
Pair("user2@mail.ru", "qQW!!!.rty3nqc18123"),
|
||||||
Pair("user3@mail.ru", "qQW!!!.rty3nqc18123"),
|
Pair("user3@mail.ru", "qQW!!!.rty3nqc18123"),
|
||||||
Pair("user4@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
|
val typography = MaterialTheme.typography
|
||||||
|
|||||||
+4
-1
@@ -30,7 +30,10 @@ class GetDefaultPhoneNumberPatternUseCaseTest {
|
|||||||
|
|
||||||
if (result != null) {
|
if (result != null) {
|
||||||
// If a pattern is found, it should match the system locale
|
// 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 {
|
} else {
|
||||||
// If no pattern found, system locale might not be in the list
|
// If no pattern found, system locale might not be in the list
|
||||||
val hasPatternForLocale = PhoneNumberPatternsProvider.phoneNumberPatterns.any {
|
val hasPatternForLocale = PhoneNumberPatternsProvider.phoneNumberPatterns.any {
|
||||||
|
|||||||
Reference in New Issue
Block a user