Skip to content

Commit 27f36ac

Browse files
committed
Fixing tests, setting release version :)
1 parent 2d7b530 commit 27f36ac

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ val cglibVersion by extra("3.3.0")
2929
val mockitoKotlinVersion by extra("5.4.0")
3030

3131
group = "com.josdem.vetlog"
32-
version = "2.7.2"
32+
version = "2.8.0"
3333

3434
configurations {
3535
compileOnly {

src/main/java/com/josdem/vetlog/util/VaccineFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public String format(String name, Locale locale) {
3030
case "DA2PP" -> "Quintuple Canina";
3131
case "Deworming" -> "Desparasitación";
3232
case "Rabies" -> "Rabia";
33-
case "FVRCP" -> "Triple Felina";
33+
case "FVRCP" -> "Trivalente Felina";
3434
case "FeLV" -> "Leucemia Felina";
3535
default -> name;
3636
};

src/test/java/com/josdem/vetlog/strategy/CatVaccinationStrategyTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class CatVaccinationStrategyTest {
3737
}
3838

3939
@ParameterizedTest
40-
@CsvSource("9, 2", "12, 2", "13, 2", "16, 2", "23, 3")
40+
@CsvSource("9, 2", "12, 2", "13, 2", "16, 2", "23, 4")
4141
fun `should save vaccines based on pet age`(
4242
weeks: Int,
4343
times: Int,

src/test/java/com/josdem/vetlog/util/VaccineFormatterTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class VaccineFormatterTest {
7878
log.info(testInfo.displayName)
7979
whenever(locale.language).thenReturn("es")
8080

81-
assertEquals("Tripe Felina", vaccineFormatter.format("FVRCP", locale))
81+
assertEquals("Trivalente Felina", vaccineFormatter.format("FVRCP", locale))
8282
}
8383

8484
@Test

0 commit comments

Comments
 (0)