Probando a agregar tests xD

This commit is contained in:
Daniel Cortes
2019-01-19 19:54:16 -03:00
parent d6997011e9
commit 21b1f976c3
6 changed files with 337 additions and 167 deletions

View File

@@ -62,7 +62,7 @@ public class InformesController {
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MMMM YYYY");
String formatedName = month.format(formatter);
String capitalized = StringUtils.toUpperCase(formatedName);
String capitalized = StringUtils.capitalize(formatedName);
Path saveFile = askForFile("Libro " + capitalized);
if (saveFile == null) {
@@ -89,7 +89,7 @@ public class InformesController {
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MMMM YYYY");
String formatedMonth = month.format(formatter);
Path saveFile = askForFile("Informe Egresos - " + tipoEgreso.getNombre() + " - " + StringUtils.toUpperCase(formatedMonth));
Path saveFile = askForFile("Informe Egresos - " + tipoEgreso.getNombre() + " - " + StringUtils.capitalize(formatedMonth));
if (saveFile == null) {
return;
}