API1.0.21 Product, price_ios, price_android
This commit is contained in:
@@ -22,5 +22,8 @@ data class Product (
|
||||
@get: NonNull var validFrom: String? = null,
|
||||
@get: NonNull var validTo: String? = null,
|
||||
@get: NonNull var productIdIos: String? = null,
|
||||
@get: NonNull var productIdAndroid: String? = null
|
||||
@get: NonNull var productIdAndroid: String? = null,
|
||||
@get: NonNull var priceIos: Double? = null,
|
||||
@get: NonNull var priceAndroid: Double? = null
|
||||
|
||||
)
|
||||
@@ -16,6 +16,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.20
|
||||
application.version=1.0.21
|
||||
|
||||
jwt.secret=aitrainer
|
||||
@@ -16,6 +16,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.20
|
||||
application.version=1.0.21
|
||||
|
||||
jwt.secret=aitrainer
|
||||
@@ -30,6 +30,8 @@ class ProductTesting {
|
||||
assertEquals(products[0].name, "Subscription A")
|
||||
assertEquals(products[0].productIdIos, "p_ios_1")
|
||||
assertEquals(products[0].productIdAndroid, "p_android_1")
|
||||
assertEquals(products[0].priceIos, 990.0)
|
||||
assertEquals(products[0].priceAndroid, 970.0)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user