Skip to content

Commit cd80821

Browse files
authored
Fix addmodification fixtures (#74)
* [axon-system-plugin] Fix AddModificationOnAggregateDefinitionCommandEventFactory fixtures * Fix fixtures
1 parent b497210 commit cd80821

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

axon-system-plugin/src/main/java/ai/stapi/axonsystemplugin/aggregatedefinition/createCRUDCommandHandlers/AbstractCreateCRUDCommandHandlerPolicy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ private DynamicCommand createAddModificationCommand(
223223
new UniqueIdentifier(resourceId),
224224
"AddModificationOnAggregateDefinitionCommandEventFactory",
225225
Map.of(
226-
"eventFactoryId", result.getEventFactoryId(),
226+
"eventFactoryId", String.format("CommandHandlerDefinitionEventFactory/%s", result.getEventFactoryId()),
227227
"modification", this.objectMapper.convertValue(
228228
result.getEventFactoryModifications(),
229229
new TypeReference<List<HashMap<String, Object>>>() {

0 commit comments

Comments
 (0)