test(): Test the create product workflow compensation (#4716)

**What**
Integration tests to validate the workflow compensation.
Also, fix the transaction state when the workflow is compensating and some steps does not have any compensation
This commit is contained in:
Adrien de Peretti authored and GitHub committed 2023-08-09 14:33:04 +00:00
1 parent 86c314eb2a
commit ac866ebb51
21 files changed
+391 -193

No files matched your search

@@ -1,5 +1,4 @@
import { ProductStatus } from "../../product"
import { WorkflowInputConfig } from "../common"
export interface CreateProductTypeInputDTO {
id?: string
@@ -92,5 +91,4 @@ export interface CreateProductInputDTO {
export interface CreateProductsWorkflowInputDTO {
products: CreateProductInputDTO[]
config?: WorkflowInputConfig
}