Skip to content

anotheroneofthese is deploying the project #300

anotheroneofthese is deploying the project

anotheroneofthese is deploying the project #300

GitHub Actions / JUnit Tests succeeded Sep 27, 2024 in 0s

42 passed, 0 failed and 1 skipped

Tests passed successfully

Report Passed Failed Skipped Time
target/surefire-reports/TEST-no.nb.mlt.wls.ArchitectureTest.xml 4✅ 2s
target/surefire-reports/TEST-no.nb.mlt.wls.domain.WLSServiceTest.xml 15✅ 2s
target/surefire-reports/TEST-no.nb.mlt.wls.order.controller.OrderControllerTest.xml 13✅ 19s
target/surefire-reports/TEST-no.nb.mlt.wls.order.model.MongoOrderModelConversionTest.xml 3✅ 6ms
target/surefire-reports/TEST-no.nb.mlt.wls.product.controller.ItemControllerTest.xml 4✅ 1⚪ 175ms
target/surefire-reports/TEST-no.nb.mlt.wls.product.model.ItemModelConversionTest.xml 3✅ 4ms

✅ target/surefire-reports/TEST-no.nb.mlt.wls.ArchitectureTest.xml

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

Test suite Passed Failed Skipped Time
no.nb.mlt.wls.ArchitectureTest 4✅ 2s

✅ no.nb.mlt.wls.ArchitectureTest

✅ The infrastructure packages does not access any application classes
✅ The domain model does not have any outgoing dependencies
✅ The application layer does not access any adapters
✅ A adapter should not access another adapter

✅ target/surefire-reports/TEST-no.nb.mlt.wls.domain.WLSServiceTest.xml

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

Test suite Passed Failed Skipped Time
no.nb.mlt.wls.domain.WLSServiceTest 15✅ 2s

✅ no.nb.mlt.wls.domain.WLSServiceTest

✅ addItem should not save new item but return existing item if it already exists
✅ deleteOrder should fail when order does not exist in WLS database
✅ updateOrder should fail when order does not exist
✅ getItem should return requested item when it exists in DB
✅ deleteOrder should fail when order does not exist in storage system
✅ createOrder should return existing order when trying to create one with same id and host
✅ getItem should return null if item does not exist
✅ getOrder should return null when order does not exists in DB
✅ deleteOrder should complete when order exists
✅ updateOrder should fail when items do not exist
✅ updateOrder with valid items should complete
✅ addItem should save and return new item when it does not exists
✅ createOrder should fail if some of the items does not exist
✅ getOrder should return requested order when it exists in DB
✅ createOrder should save order in db and storage system

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

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

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

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

✅ deleteOrder with valid data deletes order
✅ createOrder with duplicate payload returns OK
✅ updateOrder when order is being processed errors
✅ createOrder payload with different data but same ID returns DB entry
✅ createOrder with valid payload creates order
✅ updateOrder with valid payload updates order
✅ getOrder returns the order
✅ getOrder for wrong client throws
✅ deleteOrder handles synq error
✅ createOrder where SynQ says it's a duplicate but we don't have it in the DB returns Server error
✅ createOrder handles SynQ error
✅ updateOrder when order does not exists returns status 400 BAD REQUEST
✅ updateOrder when order lines doesn't exists returns status 400

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

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

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

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

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

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

5 tests were completed in 175ms with 4 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
no.nb.mlt.wls.product.controller.ItemControllerTest 4✅ 1⚪ 175ms

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

✅ 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.ItemModelConversionTest.xml

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

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

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

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