Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 75fc567f authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

fix testcase

parent f2d43061
No related branches found
No related tags found
No related merge requests found
......@@ -43,8 +43,8 @@ public class PrimaryBusSimulation
_kernel = new StandardKernel(new VectoNinjectModule());
_xmlReader = _kernel.Get<IXMLInputDataReader>();
_kernel.Rebind<IDeclarationCycleFactory>().To<TestDeclarationCycleFactory>().InSingletonScope();
var cycleFactory = _kernel.Get<IDeclarationCycleFactory>() as TestDeclarationCycleFactory;
_kernel.Rebind<IDeclarationCycleFactory>().To<TestDeclarationCycleFactoryVariant>().InSingletonScope();
var cycleFactory = _kernel.Get<IDeclarationCycleFactory>() as TestDeclarationCycleFactoryVariant;
cycleFactory.Variant = "Short_10";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment