API 1.0.45 ExerciseType buddy_warning
This commit is contained in:
@@ -18,6 +18,7 @@ data class ExerciseType(
|
||||
@Expose @get: Null var unitQuantityUnit: String?,
|
||||
@Expose @get: NonNull var active: Boolean?,
|
||||
@Expose @get: NonNull var base: Boolean?,
|
||||
@Expose @get: NonNull var buddyWarning: Boolean = false,
|
||||
|
||||
@Expose @Id @GeneratedValue(strategy = GenerationType.IDENTITY) val exerciseTypeId: Long = 0,
|
||||
|
||||
|
||||
@@ -17,6 +17,6 @@ logging.config=classpath:logback-spring.xml
|
||||
logging.file=logs
|
||||
|
||||
# if the database structure has been changed, increment this version number
|
||||
application.version=1.0.44
|
||||
application.version=1.0.45
|
||||
|
||||
jwt.secret=aitrainer
|
||||
@@ -17,7 +17,7 @@ logging.config=classpath:logback-spring.xml
|
||||
logging.file=logs
|
||||
|
||||
# if the database structure has been changed, increment this version number
|
||||
application.version=1.0.44
|
||||
application.version=1.0.45
|
||||
|
||||
jwt.secret=aitrainer
|
||||
jasypt.encryptor.password=Tibor
|
||||
|
||||
@@ -87,6 +87,7 @@ class AppPackageTest {
|
||||
val listExerciseType: List<ExerciseType> = gson.fromJson(exerciseTypeJson, type)
|
||||
assertTrue(listExerciseType.isNotEmpty())
|
||||
assertEquals(listExerciseType[1].name, "Húzódzkodás")
|
||||
assertEquals(listExerciseType[1].buddyWarning, true)
|
||||
//assertEquals(listExerciseType[1].translations[0].name, "Bicepsz")
|
||||
} else if (record[0] == ExerciseTree::class.simpleName) {
|
||||
val exerciseTreeJson: String = record[1]
|
||||
|
||||
Reference in New Issue
Block a user