Skip to content

Commit

Permalink
rebuild migration after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ntruchsess committed Jan 17, 2025
1 parent db45c36 commit 205b709
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 52 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/********************************************************************************
* Copyright (c) 2022 BMW Group AG
* Copyright (c) 2022 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public async Task Submit(PartnerSubmitData submitData)
portalRepositories.GetInstance<IConsentRepository>()
.CreateConsents(requiredAgreementIds.Select(agreementId => (agreementId, companyId, userId, ConsentStatusId.ACTIVE)));

var entries = await _checklistService.CreateInitialChecklistAsync(companyApplication.CompanyApplicationId);
var entries = await checklistService.CreateInitialChecklistAsync(companyApplication.CompanyApplicationId);
var portalProcessStepRepository = portalRepositories.GetInstance<IPortalProcessStepRepository>();
var processId = portalProcessStepRepository.CreateProcess(ProcessTypeId.APPLICATION_CHECKLIST).Id;
portalProcessStepRepository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public async Task TriggerProcessStep_WithValidData_CallsExpected(ProcessStepType
processSteps.AddRange(processStepTypeStatus.Select(x => new ProcessStep<ProcessTypeId, ProcessStepTypeId>(Guid.NewGuid(), x.ProcessStepTypeId, x.ProcessStepStatusId, x.ProcessId, DateTimeOffset.UtcNow)));
});
A.CallTo(() => _processStepRepository.AttachAndModifyProcessSteps(A<IEnumerable<ValueTuple<Guid, Action<IProcessStep<ProcessStepTypeId>>?, Action<IProcessStep<ProcessStepTypeId>>>>>._))
.Invokes((IEnumerable<(Guid ProcessStepId, Action<ProcessStep<ProcessTypeId, ProcessStepTypeId>>? Initialize, Action<ProcessStep<ProcessTypeId, ProcessStepTypeId>> Modify)> processStepIdsInitializeModifyData) =>
.Invokes((IEnumerable<(Guid ProcessStepId, Action<IProcessStep<ProcessStepTypeId>>? Initialize, Action<IProcessStep<ProcessStepTypeId>> Modify)> processStepIdsInitializeModifyData) =>
{
var modify = processStepIdsInitializeModifyData.SingleOrDefault(x => processStep.Id == x.ProcessStepId);
if (modify == default)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ public async Task DeclineOsp_WithValid_ExecutesExpected()
initial.ForEach(x => x.modify(x.Invitation));
});
A.CallTo(() => _processStepRepository.AttachAndModifyProcessSteps(A<IEnumerable<(Guid, Action<IProcessStep<ProcessStepTypeId>>?, Action<IProcessStep<ProcessStepTypeId>>)>>._))
.Invokes((IEnumerable<(Guid ProcessStepId, Action<ProcessStep<ProcessTypeId, ProcessStepTypeId>>? Initialize, Action<ProcessStep<ProcessTypeId, ProcessStepTypeId>> Modify)> processSteps) =>
.Invokes((IEnumerable<(Guid ProcessStepId, Action<IProcessStep<ProcessStepTypeId>>? Initialize, Action<IProcessStep<ProcessStepTypeId>> Modify)> processSteps) =>
{
var initial = processSteps.Select(x =>
{
Expand Down

0 comments on commit 205b709

Please sign in to comment.