Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit ab63fca2 authored by Harald Martini's avatar Harald Martini
Browse files

updated IHPC RundataFactoryFactory test

parent a1a10041
Branches
Tags
No related merge requests found
......@@ -20,6 +20,7 @@ using TUGraz.VectoCore.InputData.Reader.DataObjectAdapter.PrimaryBus;
using TUGraz.VectoCore.InputData.Reader.Impl.DeclarationMode.CompletedBusRunDataFactory;
using TUGraz.VectoCore.InputData.Reader.Impl.DeclarationMode.HeavyLorryRunDataFactory;
using TUGraz.VectoCore.InputData.Reader.Impl.DeclarationMode.PrimaryBusRunDataFactory;
using TUGraz.VectoCore.Tests.Integration.Hybrid;
namespace TUGraz.VectoCore.Tests.InputData.RunDataFactory
{
......@@ -671,6 +672,8 @@ namespace TUGraz.VectoCore.Tests.InputData.RunDataFactory
default:
throw new ArgumentOutOfRangeException(nameof(arch), arch, null);
}
arch = arch == ArchitectureID.P_IHPC ? ArchitectureID.P2 : arch;
mock.Setup(p => p.JobInputData.Vehicle.ArchitectureID).
Returns(arch);
mock.Setup(p => p.JobInputData.JobType).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment