Skip to content

MormonJesus69420 is deploying the project #209

MormonJesus69420 is deploying the project

MormonJesus69420 is deploying the project #209

GitHub Actions / JUnit Tests succeeded Jul 31, 2024 in 0s

13 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
target/surefire-reports/TEST-no.nb.mlt.wls.product.controller.ProductControllerTest.xml 5✅ 18s
target/surefire-reports/TEST-no.nb.mlt.wls.product.service.ProductServiceTest.xml 8✅ 305ms

✅ target/surefire-reports/TEST-no.nb.mlt.wls.product.controller.ProductControllerTest.xml

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

Test suite Passed Failed Skipped Time
no.nb.mlt.wls.product.controller.ProductControllerTest 5✅ 18s

✅ no.nb.mlt.wls.product.controller.ProductControllerTest

✅ createProduct with valid payload creates product
✅ createProduct with duplicate payload returns OK
✅ createProduct handles SynQ error
✅ createProduct where SynQ says it's a duplicate returns OK
✅ createProduct payload with different data but same ID returns DB entry

✅ target/surefire-reports/TEST-no.nb.mlt.wls.product.service.ProductServiceTest.xml

8 tests were completed in 305ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
no.nb.mlt.wls.product.service.ProductServiceTest 8✅ 305ms

✅ no.nb.mlt.wls.product.service.ProductServiceTest

✅ save called with payload missing description throws
✅ save called with payload missing productCategory throws
✅ save with no errors returns created product
✅ save called with payload missing hostId throws
✅ save called with existing product, returns existing product
✅ save when DB fails handles it gracefully
✅ save called with product that SynQ says exists, returns without a product
✅ save when synq fails handles it gracefully