File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
packages/core/minos-microservice-saga/minos/saga Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -83,18 +83,13 @@ class SagaExecutionRepositoryTestCase(MinosTestCase, ABC):
8383 def setUp (self ) -> None :
8484 super ().setUp ()
8585 self .saga_execution_repository = self .build_saga_execution_repository ()
86+ self .execution = SagaExecution .from_definition (_SAGA )
87+ self .another = SagaExecution .from_definition (_SAGA )
8688
8789 async def asyncSetUp (self ) -> None :
8890 await super ().asyncSetUp ()
89-
9091 await self .saga_execution_repository .setup ()
91-
92- execution = SagaExecution .from_definition (_SAGA )
93- await execution .execute (autocommit = False )
94-
95- self .execution = execution
96-
97- self .another = SagaExecution .from_definition (_SAGA )
92+ await self .execution .execute (autocommit = False )
9893
9994 async def asyncTearDown (self ):
10095 await self .saga_execution_repository .destroy ()
You can’t perform that action at this time.
0 commit comments