Finished unit tests #3
Annotations
12 errors and 2 warnings
OrderEndpointTests ► getOrderShouldReturnThirdOrder:
./java-springboot-final/target/surefire-reports/TEST-OrderEndpointTests.xml#L0
Failed test found in:
./java-springboot-final/target/surefire-reports/TEST-OrderEndpointTests.xml
Error:
org.opentest4j.AssertionFailedError: expected: <200 OK> but was: <404 NOT_FOUND>
|
OrderEndpointTests ► putOrderShouldUpdateThirdOrder:
./java-springboot-final/target/surefire-reports/TEST-OrderEndpointTests.xml#L0
Failed test found in:
./java-springboot-final/target/surefire-reports/TEST-OrderEndpointTests.xml
Error:
org.opentest4j.AssertionFailedError: expected: <200 OK> but was: <404 NOT_FOUND>
|
OrderEndpointTests ► postOrderShouldCreateNewOrder:
./java-springboot-final/target/surefire-reports/TEST-OrderEndpointTests.xml#L0
Failed test found in:
./java-springboot-final/target/surefire-reports/TEST-OrderEndpointTests.xml
Error:
org.opentest4j.AssertionFailedError: expected: <201 CREATED> but was: <404 NOT_FOUND>
|
OrderEndpointTests ► deleteOrderShouldDeleteThirdOrder:
./java-springboot-final/target/surefire-reports/TEST-OrderEndpointTests.xml#L0
Failed test found in:
./java-springboot-final/target/surefire-reports/TEST-OrderEndpointTests.xml
Error:
org.springframework.web.client.RestClientException: Error while extracting response for type [class java.lang.Integer] and content type [application/json]
|
OrderEndpointTests ► getOrdersShouldReturnAllOrders:
./java-springboot-final/target/surefire-reports/TEST-OrderEndpointTests.xml#L0
Failed test found in:
./java-springboot-final/target/surefire-reports/TEST-OrderEndpointTests.xml
Error:
org.springframework.web.client.RestClientException: Error while extracting response for type [class [Lorg.example.models.Order;] and content type [application/json]
|
OrderItemEndpointTests ► postOrderItemShouldCreateNewOrderItem:
./java-springboot-final/target/surefire-reports/TEST-OrderItemEndpointTests.xml#L0
Failed test found in:
./java-springboot-final/target/surefire-reports/TEST-OrderItemEndpointTests.xml
Error:
org.opentest4j.AssertionFailedError: expected: <201 CREATED> but was: <404 NOT_FOUND>
|
OrderItemEndpointTests ► getOrderItemShouldReturnThirdOrderItem:
./java-springboot-final/target/surefire-reports/TEST-OrderItemEndpointTests.xml#L0
Failed test found in:
./java-springboot-final/target/surefire-reports/TEST-OrderItemEndpointTests.xml
Error:
org.opentest4j.AssertionFailedError: expected: <200 OK> but was: <404 NOT_FOUND>
|
OrderItemEndpointTests ► getOrderItemsShouldReturnAllOrderItems:
./java-springboot-final/target/surefire-reports/TEST-OrderItemEndpointTests.xml#L0
Failed test found in:
./java-springboot-final/target/surefire-reports/TEST-OrderItemEndpointTests.xml
Error:
org.springframework.web.client.RestClientException: Error while extracting response for type [class [Lorg.example.models.OrderItem;] and content type [application/json]
|
OrderItemEndpointTests ► putOrderItemShouldUpdateThirdOrderItem:
./java-springboot-final/target/surefire-reports/TEST-OrderItemEndpointTests.xml#L0
Failed test found in:
./java-springboot-final/target/surefire-reports/TEST-OrderItemEndpointTests.xml
Error:
org.opentest4j.AssertionFailedError: expected: <200 OK> but was: <404 NOT_FOUND>
|
OrderItemEndpointTests ► deleteOrderItemShouldDeleteThirdOrderItem:
./java-springboot-final/target/surefire-reports/TEST-OrderItemEndpointTests.xml#L0
Failed test found in:
./java-springboot-final/target/surefire-reports/TEST-OrderItemEndpointTests.xml
Error:
org.springframework.web.client.RestClientException: Error while extracting response for type [class java.lang.Integer] and content type [application/json]
|
ProductEndpointTests ► putProductShouldUpdateCherryProduct:
./java-springboot-final/target/surefire-reports/TEST-ProductEndpointTests.xml#L0
Failed test found in:
./java-springboot-final/target/surefire-reports/TEST-ProductEndpointTests.xml
Error:
org.opentest4j.AssertionFailedError: expected: <200 OK> but was: <404 NOT_FOUND>
|
build
Failed test were found and 'fail-on-error' option is set to true
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|