[midPoint-git] [Evolveum/midpoint] 956b59: Fix preserving values of test objects
mederly
noreply at github.com
Wed Dec 21 21:28:19 CET 2022
Branch: refs/heads/feature/simulations
Home: https://github.com/Evolveum/midpoint
Commit: 956b59ba51bfd0c72130575c53ac3ad6265b15c9
https://github.com/Evolveum/midpoint/commit/956b59ba51bfd0c72130575c53ac3ad6265b15c9
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/simulation/SimulationResultManager.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/SimulationResultManagerImpl.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMemberRecompute.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/simulation/AbstractBasicSimulationExecutionTest.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/DummyResourceCollection.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/SimulationResult.java
M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/other/TestMiscellaneous.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractTestResource.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestFirstSteps.java
Log Message:
-----------
Fix preserving values of test objects
The values were unintentionally preserved between test classes runs,
so the tests failed. Now it's fixed by AbstractTestResource#getFresh
method - but it needs to be used consistently.
Also, improved asserting about objects processed by simulation.
More information about the midPoint-svn
mailing list