Skip to content

Commit

Permalink
Fixed broken test.
Browse files Browse the repository at this point in the history
  • Loading branch information
owencampbell committed Jul 18, 2024
1 parent 69ca120 commit 616f948
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using AutoMapper;
using FluentAssertions;
using NUnit.Framework;
using SFA.DAS.Payments.DataLocks.Messages.Events;
using SFA.DAS.Payments.Model.Core;
using SFA.DAS.Payments.RequiredPayments.Application.Mapping;
using SFA.DAS.Payments.RequiredPayments.Application.UnitTests.TestHelpers;
using SFA.DAS.Payments.RequiredPayments.Domain.Entities;
using SFA.DAS.Payments.RequiredPayments.Messages.Events;

Expand Down Expand Up @@ -64,7 +68,16 @@ public void Maps_AgeAtStartOfLearning_From_PayableEarningEvent_To_CalculatedRequ
// Arrange
var payableEarningEvent = new PayableEarningEvent
{
AgeAtStartOfLearning = 25
AgeAtStartOfLearning = 25,
LearningAim = EarningEventDataHelper.CreateLearningAim(),
PriceEpisodes = new List<PriceEpisode>
{
new PriceEpisode
{
LearningAimSequenceNumber = 1,
Identifier = "1"
}
}
};

var requiredPaymentEvent = Activator.CreateInstance(typeof(CalculatedRequiredCoInvestedAmount)) as CalculatedRequiredOnProgrammeAmount;
Expand Down

0 comments on commit 616f948

Please sign in to comment.