Skip to content

Adjust Flyway versioning and rename tables to a common convention #69

Adjust Flyway versioning and rename tables to a common convention

Adjust Flyway versioning and rename tables to a common convention #69

GitHub Actions / Test Reports succeeded Apr 20, 2024 in 1s

235 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.account.adapter.web.AccountControllerSpec.xml 2✅ 2s
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.account.application.CreateAccountServiceSpec.xml 23✅ 62ms
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.expense.adapter.messaging.AccountEventsListenerSpec.xml 1✅ 3s
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.expense.adapter.web.ExpenseCategoryControllerSpec.xml 6✅ 169ms
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.expense.adapter.web.ExpenseControllerSpec.xml 6✅ 2s
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.expense.application.CreateExpenseServiceSpec.xml 18✅ 80ms
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.expense.application.DefaultCategoryServiceSpec.xml 25✅ 235ms
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.expense.application.DeleteExpenseServiceSpec.xml 3✅ 34ms
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.expense.application.UpdateExpenseServiceSpec.xml 20✅ 49ms
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.income.adapter.messaging.AccountEventsListenerSpec.xml 1✅ 2s
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.income.adapter.web.IncomeControllerSpec.xml 6✅ 2s
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.income.adapter.web.IncomeSourceControllerSpec.xml 6✅ 120ms
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.income.application.CreateIncomeServiceSpec.xml 18✅ 38ms
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.income.application.DefaultIncomeSourceServiceSpec.xml 25✅ 97ms
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.income.application.DeleteIncomeServiceSpec.xml 3✅ 15ms
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.income.application.UpdateIncomeServiceSpec.xml 20✅ 38ms
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.ModularitySpec.xml 2✅ 5s
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.ServerApplicationSpec.xml 1✅ 3s
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.shared.ApiExceptionHandlerSpec.xml 7✅ 403ms
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.shared.ApiFailureHandlerSpec.xml 6✅ 47ms
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.spendingplan.adapter.web.JarControllerSpec.xml 3✅ 23s
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.spendingplan.adapter.web.PlanControllerSpec.xml 2✅ 3s
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.spendingplan.application.CreateJarServiceSpec.xml 14✅ 969ms
/home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.spendingplan.application.CreatePlanServiceSpec.xml 17✅ 85ms

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.account.adapter.web.AccountControllerSpec.xml

2 tests were completed in 2s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.account.adapter.web.AccountControllerSpec 2✅ 2s

✅ io.myfinbox.account.adapter.web.AccountControllerSpec

✅ should create an new account
✅ should fail to create an account when request has validation failures

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.account.application.CreateAccountServiceSpec.xml

23 tests were completed in 62ms with 23 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.account.application.CreateAccountServiceSpec 23✅ 62ms

✅ io.myfinbox.account.application.CreateAccountServiceSpec

✅ should fail account creation when firstName length overflow
✅ should fail account creation when lastName length overflow
✅ should fail account creation when email address is invalid with message: 'Email address cannot be empty.'
✅ should fail account creation when email address is invalid with message: 'Email address cannot be empty.'
✅ should fail account creation when email address is invalid with message: 'Email address cannot be empty.'
✅ should fail account creation when email address is invalid with message: 'Email address must follow RFC 5322 standard.'
✅ should fail account creation when email address is invalid with message: 'Email address must follow RFC 5322 standard.'
✅ should fail account creation when email address is invalid with message: 'Email address must follow RFC 5322 standard.'
✅ should fail account creation when email address is invalid with message: 'Email address must follow RFC 5322 standard.'
✅ should fail account creation when email address is invalid with message: 'Email address must follow RFC 5322 standard.'
✅ should fail account creation when email address is invalid with message: 'Email address must follow RFC 5322 standard.'
✅ should fail account creation when email address is invalid with message: 'Email address must follow RFC 5322 standard.'
✅ should fail account creation when email address is invalid with message: 'Email address must follow RFC 5322 standard.'
✅ should fail account creation when email address is invalid with message: 'Email address must follow RFC 5322 standard.'
✅ should fail account creation when email address is invalid with message: 'Email address must follow RFC 5322 standard.'
✅ should fail account creation when email address is invalid with message: 'Email address must follow RFC 5322 standard.'
✅ should fail account creation when email address is invalid with message: 'Email address must follow RFC 5322 standard.'
✅ should fail account creation when email address is invalid with message: 'Email address must follow RFC 5322 standard.'
✅ should fail account creation when email address is invalid with message: 'Email address must follow RFC 5322 standard.'
✅ should fail account creation when email address is invalid with message: 'Email address must follow RFC 5322 standard.'
✅ should fail account creation when email address is invalid with message: 'Email address length cannot exceed '255' characters.'
✅ should fail account creation when email address is invalid with message: '#errorMessage'
✅ should create an account

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.expense.adapter.messaging.AccountEventsListenerSpec.xml

1 tests were completed in 3s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.expense.adapter.messaging.AccountEventsListenerSpec 1✅ 3s

✅ io.myfinbox.expense.adapter.messaging.AccountEventsListenerSpec

✅ should create default expense categories on account created event

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.expense.adapter.web.ExpenseCategoryControllerSpec.xml

6 tests were completed in 169ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.expense.adapter.web.ExpenseCategoryControllerSpec 6✅ 169ms

✅ io.myfinbox.expense.adapter.web.ExpenseCategoryControllerSpec

✅ Should create a new category expense
✅ should fail creation when request has validation failures
✅ should update an existing category expense name
✅ Should fail update when category not found
✅ should delete an expense category
✅ Should fail delete when expense category is in use

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.expense.adapter.web.ExpenseControllerSpec.xml

6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.expense.adapter.web.ExpenseControllerSpec 6✅ 2s

✅ io.myfinbox.expense.adapter.web.ExpenseControllerSpec

✅ should create a new expense
✅ should fail creation when request has validation failures
✅ should update an expense
✅ should fail updating when provided category not found
✅ should delete an expense
✅ should fail delete when expense not found

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.expense.application.CreateExpenseServiceSpec.xml

18 tests were completed in 80ms with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.expense.application.CreateExpenseServiceSpec 18✅ 80ms

✅ io.myfinbox.expense.application.CreateExpenseServiceSpec

✅ should fail expense creation when accountId is null
✅ should fail expense creation when categoryId is null
✅ should fail expense creation when paymentType is invalid [paymentType: null, failMessage: PaymentType must be 'Cash' or 'Card'., #0]
✅ should fail expense creation when paymentType is invalid [paymentType:   , failMessage: PaymentType must be 'Cash' or 'Card'., #1]
✅ should fail expense creation when paymentType is invalid [paymentType: Hola, failMessage: PaymentType must be 'Cash' or 'Card'., #2]
✅ should fail expense creation when paymentType is invalid
✅ should fail expense creation when amount is invalid [value: null, failMessage: Amount cannot be null., #0]
✅ should fail expense creation when amount is invalid [value: 0.0, failMessage: Amount must be a positive value., #1]
✅ should fail expense creation when amount is invalid [value: -25.56, failMessage: Amount must be a positive value., #2]
✅ should fail expense creation when amount is invalid
✅ should fail expense creation when currencyCode is invalid [currencyCode: null, failMessage: CurrencyCode cannot be null., #0]
✅ should fail expense creation when currencyCode is invalid [currencyCode: , failMessage: CurrencyCode is not valid., #1]
✅ should fail expense creation when currencyCode is invalid [currencyCode: US, failMessage: CurrencyCode is not valid., #2]
✅ should fail expense creation when currencyCode is invalid [currencyCode: MDLA, failMessage: CurrencyCode is not valid., #3]
✅ should fail expense creation when currencyCode is invalid
✅ should fail expense creation when expenseDate is null
✅ should fail expense creation when category is not found
✅ should create an expense

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.expense.application.DefaultCategoryServiceSpec.xml

25 tests were completed in 235ms with 25 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.expense.application.DefaultCategoryServiceSpec 25✅ 235ms

✅ io.myfinbox.expense.application.DefaultCategoryServiceSpec

✅ should fail to create default categories when account is null
✅ should successfully create default categories for the provided account
✅ should fail category creation when accountId is null
✅ should fail category creation when name is not valid [categoryName: null, failMessage: Name cannot be empty., #0]
✅ should fail category creation when name is not valid [categoryName: , failMessage: Name cannot be empty., #1]
✅ should fail category creation when name is not valid [categoryName:    , failMessage: Name cannot be empty., #2]
✅ should fail category creation when name is not valid [categoryName: 8SzXaD53dN13yztGBGNcBy1RjRfFFlHVmWLQc4azbXqdf4cnLg3SGpnihSSObOVa0GHxP6tr2e0mOMOyiQiBpKg7pT2RI1wpzMCeLS0LJBHYvPhm9FtBWMzHC5uNqkA93Yas8QVVjuz32AQ0EAoriddbedsiQIBfCsUPX0JKnZE25dHl5mOOdVKECzPeNYyhL80F1sD5K0uoqME0iIGjEIbUbiSNeRGDB2bwWQMQwvs2ZXh3M3upmSh1jyu3c04e, failMessage: Name length cannot exceed 100 characters., #3]
✅ should fail category creation when name is not valid
✅ should fail category creation when name is duplicate
✅ should successfully create a new expense category
✅ should fail category update when accountId is null
✅ should fail category update when name is not valid [categoryName: null, failMessage: Name cannot be empty., #0]
✅ should fail category update when name is not valid [categoryName: , failMessage: Name cannot be empty., #1]
✅ should fail category update when name is not valid [categoryName:    , failMessage: Name cannot be empty., #2]
✅ should fail category update when name is not valid [categoryName: Qb55hRYZT1tvI4nffDQI1exHDhZmCfsj45O2AKQ5OeEMWluBa4Y6f8PKcFLYNs39yxM6Txy9Nl8nUkwk3SuI4W1XG1852oQ8ZWtf11f6pdMdFEOVWaZshXBbnAiaymf40Li9h5TWFkmIZeBTq1sGK2t4MhqIMqOcJDIjIFKKYrPkNd6NX06QuLG7j2UXV9BI0eaEcEAWgMW42Sm7DOmHiio1Y4JHl5zNyPTaa9dtZpEMU3g5PPpzQkOQRWmJTU1J, failMessage: Name length cannot exceed 100 characters., #3]
✅ should fail category update when name is not valid
✅ should fail category update when category not found, null categoryId
✅ should fail category update when category not found, no DB existence
✅ should not update category name when name not changed
✅ should fail category update when name is duplicate
✅ should update an existing expense category with a new name
✅ should fail to delete category when category not found, categoryId is null
✅ should fail to delete category when category not found in the database
✅ should fail to delete category when category is in use
✅ should successfully delete a category when no expenses are associated with it

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.expense.application.DeleteExpenseServiceSpec.xml

3 tests were completed in 34ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.expense.application.DeleteExpenseServiceSpec 3✅ 34ms

✅ io.myfinbox.expense.application.DeleteExpenseServiceSpec

✅ should fail delete when expense id is null
✅ should fail delete when expense not found
✅ should delete an expense

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.expense.application.UpdateExpenseServiceSpec.xml

20 tests were completed in 49ms with 20 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.expense.application.UpdateExpenseServiceSpec 20✅ 49ms

✅ io.myfinbox.expense.application.UpdateExpenseServiceSpec

✅ should fail expense updating when accountId is null
✅ should fail expense updating when categoryId is null
✅ should fail expense updating when paymentType is invalid [paymentType: null, failMessage: PaymentType must be 'Cash' or 'Card'., #0]
✅ should fail expense updating when paymentType is invalid [paymentType:   , failMessage: PaymentType must be 'Cash' or 'Card'., #1]
✅ should fail expense updating when paymentType is invalid [paymentType: Hola, failMessage: PaymentType must be 'Cash' or 'Card'., #2]
✅ should fail expense updating when paymentType is invalid
✅ should fail expense updating when amount is invalid [value: null, failMessage: Amount cannot be null., #0]
✅ should fail expense updating when amount is invalid [value: 0.0, failMessage: Amount must be a positive value., #1]
✅ should fail expense updating when amount is invalid [value: -25.56, failMessage: Amount must be a positive value., #2]
✅ should fail expense updating when amount is invalid
✅ should fail expense updating when currencyCode is invalid [currencyCode: null, failMessage: CurrencyCode cannot be null., #0]
✅ should fail expense updating when currencyCode is invalid [currencyCode: , failMessage: CurrencyCode is not valid., #1]
✅ should fail expense updating when currencyCode is invalid [currencyCode: US, failMessage: CurrencyCode is not valid., #2]
✅ should fail expense updating when currencyCode is invalid [currencyCode: MDLA, failMessage: CurrencyCode is not valid., #3]
✅ should fail expense updating when currencyCode is invalid
✅ should fail expense updating when expenseDate is null
✅ should fail expense updating when expense ID is null
✅ should fail expense updating when expense is not found
✅ should fail expense updating when expense category is not found
✅ should update an expense

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.income.adapter.messaging.AccountEventsListenerSpec.xml

1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.income.adapter.messaging.AccountEventsListenerSpec 1✅ 2s

✅ io.myfinbox.income.adapter.messaging.AccountEventsListenerSpec

✅ should create default income sources on account created event

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.income.adapter.web.IncomeControllerSpec.xml

6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.income.adapter.web.IncomeControllerSpec 6✅ 2s

✅ io.myfinbox.income.adapter.web.IncomeControllerSpec

✅ should create a new income
✅ should fail creation when request has validation failures
✅ should update an income
✅ should fail updating when provided income source not found
✅ should delete an income
✅ should fail delete when income not found

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.income.adapter.web.IncomeSourceControllerSpec.xml

6 tests were completed in 120ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.income.adapter.web.IncomeSourceControllerSpec 6✅ 120ms

✅ io.myfinbox.income.adapter.web.IncomeSourceControllerSpec

✅ should create a new income source
✅ should fail income source creation when request has validation failures
✅ should update an existing income source name
✅ Should fail update when income source not found
✅ should delete an income source
✅ Should fail delete when income source is in use

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.income.application.CreateIncomeServiceSpec.xml

18 tests were completed in 38ms with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.income.application.CreateIncomeServiceSpec 18✅ 38ms

✅ io.myfinbox.income.application.CreateIncomeServiceSpec

✅ should fail income creation when accountId is null
✅ should fail income creation when incomeSourceId is null
✅ should fail income creation when paymentType is invalid [paymentType: null, failMessage: PaymentType must be 'Cash' or 'Card'., #0]
✅ should fail income creation when paymentType is invalid [paymentType:   , failMessage: PaymentType must be 'Cash' or 'Card'., #1]
✅ should fail income creation when paymentType is invalid [paymentType: Hola, failMessage: PaymentType must be 'Cash' or 'Card'., #2]
✅ should fail income creation when paymentType is invalid
✅ should fail income creation when amount is invalid [value: null, failMessage: Amount cannot be null., #0]
✅ should fail income creation when amount is invalid [value: 0.0, failMessage: Amount must be a positive value., #1]
✅ should fail income creation when amount is invalid [value: -25.56, failMessage: Amount must be a positive value., #2]
✅ should fail income creation when amount is invalid
✅ should fail income creation when currencyCode is invalid [currencyCode: null, failMessage: CurrencyCode cannot be null., #0]
✅ should fail income creation when currencyCode is invalid [currencyCode: , failMessage: CurrencyCode is not valid., #1]
✅ should fail income creation when currencyCode is invalid [currencyCode: US, failMessage: CurrencyCode is not valid., #2]
✅ should fail income creation when currencyCode is invalid [currencyCode: MDLA, failMessage: CurrencyCode is not valid., #3]
✅ should fail income creation when currencyCode is invalid
✅ should fail income creation when incomeDate is null
✅ should fail income creation when income source is not found
✅ should create an income

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.income.application.DefaultIncomeSourceServiceSpec.xml

25 tests were completed in 97ms with 25 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.income.application.DefaultIncomeSourceServiceSpec 25✅ 97ms

✅ io.myfinbox.income.application.DefaultIncomeSourceServiceSpec

✅ should fail create default income sources when account is null
✅ should create income sources
✅ should fail income source creation when accountId is null
✅ should fail income source creation when name is not valid [incomeSourceName: null, failMessage: Name cannot be empty., #0]
✅ should fail income source creation when name is not valid [incomeSourceName: , failMessage: Name cannot be empty., #1]
✅ should fail income source creation when name is not valid [incomeSourceName:    , failMessage: Name cannot be empty., #2]
✅ should fail income source creation when name is not valid [incomeSourceName: qG3VMvJHqxYt05NTN58BDqoZcTVEhOSAqnb3cdxLUMShiSzTiqHyWtQoiXXx5bBHZYjsjgO3Uols0xX2RUGdym2K73Wqn7BxbHnUiU7AwPqChtRcLOT6eOm1pKiLsOJIyk5MV0eeS4n8r0dCAa3BTzJmdIuiWIcZInLirtoI0gK1j5jbQTGUqsAxFv8U2AEFJ0hH79oLoBko29wcUjX2RLL40zoW9BKT9SQacKnEDdpjvKO2YwLaBRCSpp75hmKU, failMessage: Name length cannot exceed 100 characters., #3]
✅ should fail income source creation when name is not valid
✅ should fail income source creation when name is duplicate
✅ should successfully create a new income source
✅ should fail income source update when accountId is null
✅ should fail income source update when name is not valid [incomeSourceName: null, failMessage: Name cannot be empty., #0]
✅ should fail income source update when name is not valid [incomeSourceName: , failMessage: Name cannot be empty., #1]
✅ should fail income source update when name is not valid [incomeSourceName:    , failMessage: Name cannot be empty., #2]
✅ should fail income source update when name is not valid [incomeSourceName: djItNw1hGEs8pKdIn4OdaepWdUyrNWi9rVhVL8Ot8A7DSAn6MJlKnvWfs3UgArh19r83LuufJyaTUmWQxlYde5bHXeGherwShkD2oiEngXaqklmSNNUkXeNhY6ChTV275jOnhNuApRgaBPySGJks4HjyclWoWaRcOksvl4e82Jdlhaizz8XKtKFpKdbAgWZSNZ1om4qETKFWTG5tB7OJC390jlQGx6EOz1UNdu0ypGdmGUGwQZSttVC2eEksMZHH, failMessage: Name length cannot exceed 100 characters., #3]
✅ should fail income source update when name is not valid
✅ should fail income source update when income source not found, null income source
✅ should fail income source update when income source not found, no DB existence
✅ should not update income source name when name not changed
✅ should fail income source update when name is duplicate
✅ should update an existing income source with a new name
✅ should fail to delete income source when income source not found, incomeSourceId is null
✅ should fail to delete income source when income source not found in the database
✅ should fail to delete income source when income source is in use
✅ should successfully delete a income source when no incomes are associated with it

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.income.application.DeleteIncomeServiceSpec.xml

3 tests were completed in 15ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.income.application.DeleteIncomeServiceSpec 3✅ 15ms

✅ io.myfinbox.income.application.DeleteIncomeServiceSpec

✅ should fail delete when income id is null
✅ should fail delete when income not found
✅ should delete an income

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.income.application.UpdateIncomeServiceSpec.xml

20 tests were completed in 38ms with 20 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.income.application.UpdateIncomeServiceSpec 20✅ 38ms

✅ io.myfinbox.income.application.UpdateIncomeServiceSpec

✅ should fail income updating when accountId is null
✅ should fail income updating when incomeSourceId is null
✅ should fail income updating when paymentType is invalid [paymentType: null, failMessage: PaymentType must be 'Cash' or 'Card'., #0]
✅ should fail income updating when paymentType is invalid [paymentType:   , failMessage: PaymentType must be 'Cash' or 'Card'., #1]
✅ should fail income updating when paymentType is invalid [paymentType: Hola, failMessage: PaymentType must be 'Cash' or 'Card'., #2]
✅ should fail income updating when paymentType is invalid
✅ should fail income updating when amount is invalid [value: null, failMessage: Amount cannot be null., #0]
✅ should fail income updating when amount is invalid [value: 0.0, failMessage: Amount must be a positive value., #1]
✅ should fail income updating when amount is invalid [value: -25.56, failMessage: Amount must be a positive value., #2]
✅ should fail income updating when amount is invalid
✅ should fail income updating when currencyCode is invalid [currencyCode: null, failMessage: CurrencyCode cannot be null., #0]
✅ should fail income updating when currencyCode is invalid [currencyCode: , failMessage: CurrencyCode is not valid., #1]
✅ should fail income updating when currencyCode is invalid [currencyCode: US, failMessage: CurrencyCode is not valid., #2]
✅ should fail income updating when currencyCode is invalid [currencyCode: MDLA, failMessage: CurrencyCode is not valid., #3]
✅ should fail income updating when currencyCode is invalid
✅ should fail income updating when incomeDate is null
✅ should fail income updating when income id null with income not found
✅ should fail income updating when income is not found
✅ should fail income updating when income source is not found
✅ should update an income

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.ModularitySpec.xml

2 tests were completed in 5s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.ModularitySpec 2✅ 5s

✅ io.myfinbox.ModularitySpec

✅ should verify modular structure
✅ should write documentation snippets

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.ServerApplicationSpec.xml

1 tests were completed in 3s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.ServerApplicationSpec 1✅ 3s

✅ io.myfinbox.ServerApplicationSpec

✅ should load contexts

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.shared.ApiExceptionHandlerSpec.xml

7 tests were completed in 403ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.shared.ApiExceptionHandlerSpec 7✅ 403ms

✅ io.myfinbox.shared.ApiExceptionHandlerSpec

✅ should get Bad Request when message not readable exception
✅ should get Bad Request when type mismatch exception
✅ should get Not Found when no handler found exception
✅ should get Method Not Allowed when request method not supported exception
✅ should get Not Acceptable when media type not acceptable exception
✅ should get Unsupported media type when media type not supported exception
✅ should get Internal Server Error when unexpected exception thrown

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.shared.ApiFailureHandlerSpec.xml

6 tests were completed in 47ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.shared.ApiFailureHandlerSpec 6✅ 47ms

✅ io.myfinbox.shared.ApiFailureHandlerSpec

✅ should throw NullPointerException when null failure
✅ should get conflict API response when conflict failure
✅ should get not found API response when not fount failure
✅ should get forbidden API response when action not allowed
✅ should get unprocessable entity API response when validation failure
✅ should throw IllegalArgumentException when not failure handler

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.spendingplan.adapter.web.JarControllerSpec.xml

3 tests were completed in 23s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.spendingplan.adapter.web.JarControllerSpec 3✅ 23s

✅ io.myfinbox.spendingplan.adapter.web.JarControllerSpec

✅ should create a new jar for an existing spending plan
✅ should fail creation when request has validation failures
✅ should fail creation when request resource jar percentage is greater than allowed

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.spendingplan.adapter.web.PlanControllerSpec.xml

2 tests were completed in 3s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.spendingplan.adapter.web.PlanControllerSpec 2✅ 3s

✅ io.myfinbox.spendingplan.adapter.web.PlanControllerSpec

✅ should create a new spending plan
✅ should fail creation when request has validation failures

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.spendingplan.application.CreateJarServiceSpec.xml

14 tests were completed in 969ms with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.spendingplan.application.CreateJarServiceSpec 14✅ 969ms

✅ io.myfinbox.spendingplan.application.CreateJarServiceSpec

✅ should fail jar creation when name is invalid [jar: null, failMessage: Name cannot be empty., #0]
✅ should fail jar creation when name is invalid [jar: , failMessage: Name cannot be empty., #1]
✅ should fail jar creation when name is invalid [jar:    , failMessage: Name cannot be empty., #2]
✅ should fail jar creation when name is invalid [jar: 1yswG3J2HqFYdavXZ5wACtM3XlWQXkhNL40cAErW6Y0uD22ZYw9P2FGlWCgnXiNwLJMOIm09DGNVtsjrMbHU2yXzbXDSqbcBypRNhhOYSE3dEeFain6e7i6q5SvnbZH6uR0hCgOIIWkrMWiykubMuI4lmXLL5p5SFoApS46sfCOk7S0sO9ljtvASPHITPAC3OMeGn5jb6wYW7S9CBcb5vKwR1ywwuc2xfza5svIvub2D4txdqmldunoPHof3fv7V, failMessage: Name length cannot exceed 255 characters., #3]
✅ should fail jar creation when name is invalid
✅ should fail jar creation when percentage is invalid [percentage: null, failMessage: Percentage cannot be null., #0]
✅ should fail jar creation when percentage is invalid [percentage: 0, failMessage: Percentage must be between 1 and 100., #1]
✅ should fail jar creation when percentage is invalid [percentage: -1, failMessage: Percentage must be between 1 and 100., #2]
✅ should fail jar creation when percentage is invalid [percentage: 101, failMessage: Percentage must be between 1 and 100., #3]
✅ should fail jar creation when percentage is invalid
✅ should fail jar creation when planId is null
✅ should fail jar creation when plan not found
✅ should fail plan creation when jar name for provided name already exists
✅ should create a new jar successfully

✅ /home/runner/work/myfinbox/myfinbox/server/target/failsafe-reports/TEST-io.myfinbox.spendingplan.application.CreatePlanServiceSpec.xml

17 tests were completed in 85ms with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.myfinbox.spendingplan.application.CreatePlanServiceSpec 17✅ 85ms

✅ io.myfinbox.spendingplan.application.CreatePlanServiceSpec

✅ should fail plan creation when accountId is null
✅ should fail plan creation when name is invalid [planName: null, failMessage: Name cannot be empty., #0]
✅ should fail plan creation when name is invalid [planName: , failMessage: Name cannot be empty., #1]
✅ should fail plan creation when name is invalid [planName:    , failMessage: Name cannot be empty., #2]
✅ should fail plan creation when name is invalid [planName: LmIUJZKVqU99J0q7wRYLKjCLiT1WxvixV3g0umekjeknJNRATo98pBpcNtRELxuZYgbelIcfA5N6uM8hSOWIi08L6go3x0pgc6sUeQCQWzX3MEh0wx0yh9CgBoQoYSPan0jiikgDKCfZj4vJs65YLabsYtcPQE41BGGKNYPhO6P2OXbtYgyHL2wlz1OnWpyXhqvbE6oFJ9UpeTLmwggyWe0p8Y1xzWrSDwuoNtqANcXlb9TS0dCWwnJeZgOfUqT2, failMessage: Name length cannot exceed 255 characters., #3]
✅ should fail plan creation when name is invalid
✅ should fail plan creation when amount is invalid [value: null, failMessage: Amount cannot be null., #0]
✅ should fail plan creation when amount is invalid [value: 0.0, failMessage: Amount must be a positive value., #1]
✅ should fail plan creation when amount is invalid [value: -25.56, failMessage: Amount must be a positive value., #2]
✅ should fail plan creation when amount is invalid
✅ should fail plan creation when currencyCode is invalid [currencyCode: null, failMessage: CurrencyCode cannot be null., #0]
✅ should fail plan creation when currencyCode is invalid [currencyCode: , failMessage: CurrencyCode is not valid., #1]
✅ should fail plan creation when currencyCode is invalid [currencyCode: US, failMessage: CurrencyCode is not valid., #2]
✅ should fail plan creation when currencyCode is invalid [currencyCode: MDLA, failMessage: CurrencyCode is not valid., #3]
✅ should fail plan creation when currencyCode is invalid
✅ should fail plan creation when plan name already exit
✅ should create a new plan