OrderCancellationIntegrationTest

8

tests

0

failures

0

ignored

2.109s

duration

100%

successful

Tests

Test Duration Result
cancellationWithoutCsrfReturnsForbidden() 0.283s passed
cancellingDeliveryRequestedReturnsConflictAndLeavesOrderUntouched() 0.325s passed
cancellingNonExistentOrderReturnsNotFound() 0.267s passed
cancellingOrderBelongingToDifferentCustomerReturnsForbidden() 0.272s passed
cancellingPaidUpdatesOrderToCancelPendingAndPaymentToRefundPendingAndReleasesStock() 0.267s passed
cancellingPaymentPendingReleasesStockAndUpdatesOrderToCancelled() 0.260s passed
repeatedCancellationReturnsOkWithoutRepeatingSideEffects() 0.275s passed
unauthenticatedCancellationReturnsUnauthorized() 0.160s passed

Standard output

2026-10-18T11:03:15.520Z  INFO 3989 --- [    Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [com.comp5348.group06.store.web.OrderCancellationIntegrationTest]: OrderCancellationIntegrationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-10-18T11:03:15.528Z  INFO 3989 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration com.comp5348.group06.store.StoreApplication for test class com.comp5348.group06.store.web.OrderCancellationIntegrationTest