Skip to content

anotheroneofthese is deploying the project #244

anotheroneofthese is deploying the project

anotheroneofthese is deploying the project #244

GitHub Actions / JUnit Tests succeeded Aug 20, 2024 in 0s

32 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
target/surefire-reports/TEST-no.nb.mlt.wls.order.controller.OrderControllerTest.xml 5✅ 19s
target/surefire-reports/TEST-no.nb.mlt.wls.order.model.OrderModelConversionTest.xml 3✅ 61ms
target/surefire-reports/TEST-no.nb.mlt.wls.order.service.OrderServiceTest.xml 8✅ 9s
target/surefire-reports/TEST-no.nb.mlt.wls.product.controller.ProductControllerTest.xml 5✅ 1s
target/surefire-reports/TEST-no.nb.mlt.wls.product.model.ProductModelConversionTest.xml 3✅ 3ms
target/surefire-reports/TEST-no.nb.mlt.wls.product.service.ProductServiceTest.xml 8✅ 107ms

✅ target/surefire-reports/TEST-no.nb.mlt.wls.order.controller.OrderControllerTest.xml

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

Test suite Passed Failed Skipped Time
no.nb.mlt.wls.order.controller.OrderControllerTest 5✅ 19s

✅ no.nb.mlt.wls.order.controller.OrderControllerTest

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

✅ target/surefire-reports/TEST-no.nb.mlt.wls.order.model.OrderModelConversionTest.xml

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

Test suite Passed Failed Skipped Time
no.nb.mlt.wls.order.model.OrderModelConversionTest 3✅ 61ms

✅ no.nb.mlt.wls.order.model.OrderModelConversionTest

✅ order converts to API payload
✅ API payload converts to order
✅ order converts to SynQ payload

✅ target/surefire-reports/TEST-no.nb.mlt.wls.order.service.OrderServiceTest.xml

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

Test suite Passed Failed Skipped Time
no.nb.mlt.wls.order.service.OrderServiceTest 8✅ 9s

✅ no.nb.mlt.wls.order.service.OrderServiceTest

✅ save called when db is down is handled gracefully
✅ save called with payload missing orderId throws
✅ save with no errors returns created order
✅ save called with Order that SynQ says exists throws
✅ save called when SynQ fails is handled gracefully
✅ save called with payload missing hostOrderId throws
✅ save with payload missing product lines throws
✅ save when order exists throws

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

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

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

✅ 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.model.ProductModelConversionTest.xml

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

Test suite Passed Failed Skipped Time
no.nb.mlt.wls.product.model.ProductModelConversionTest 3✅ 3ms

✅ no.nb.mlt.wls.product.model.ProductModelConversionTest

✅ product converts to SynQ payload
✅ product converts to API payload
✅ API payload converts to product

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

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

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

✅ 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