diff --git a/Rdmp.Core.Tests/Curation/ImportTests/GatherAndShareTests.cs b/Rdmp.Core.Tests/Curation/ImportTests/GatherAndShareTests.cs index ee3c17bb73..2d33b1e4c8 100644 --- a/Rdmp.Core.Tests/Curation/ImportTests/GatherAndShareTests.cs +++ b/Rdmp.Core.Tests/Curation/ImportTests/GatherAndShareTests.cs @@ -114,8 +114,8 @@ public void GatherAndShare_Plugin_Test() File.WriteAllBytes(f2.FullName, new byte[] { 0x3, 0x3 }); var plugin = new Core.Curation.Data.Plugin(CatalogueRepository,new FileInfo("Imaginary.zip")); - var lma1 = new LoadModuleAssembly(CatalogueRepository,f1,plugin); - var lma2 = new LoadModuleAssembly(CatalogueRepository, f2, plugin); + var lma1 = new LoadModuleAssembly(CatalogueRepository,f1,plugin,null); + var lma2 = new LoadModuleAssembly(CatalogueRepository, f2, plugin,null); Assert.AreEqual(lma1.Plugin_ID, plugin.ID); Assert.AreEqual(lma2.Plugin_ID, plugin.ID); diff --git a/Rdmp.Core.Tests/Curation/ImportTests/PluginClassTests.cs b/Rdmp.Core.Tests/Curation/ImportTests/PluginClassTests.cs index 7892b7879d..18c0d9dbec 100644 --- a/Rdmp.Core.Tests/Curation/ImportTests/PluginClassTests.cs +++ b/Rdmp.Core.Tests/Curation/ImportTests/PluginClassTests.cs @@ -65,7 +65,7 @@ public void TestPlugin_PdbNull_Sharing() File.WriteAllBytes(fi2.FullName, new byte[] { 0x1, 0x2 }); Core.Curation.Data.Plugin p = new Core.Curation.Data.Plugin(Repository,fi); - var lma = new LoadModuleAssembly(Repository, fi2, p); + var lma = new LoadModuleAssembly(Repository, fi2, p,null); //Give it some pdb bytes lma.Pdb = new byte[]{0x1}; @@ -124,8 +124,8 @@ public void TestPlugin_OrphanImport_Sharing() File.WriteAllBytes(fi3.FullName, new byte[] { 0x3, 0x4 }); Core.Curation.Data.Plugin p = new Core.Curation.Data.Plugin(Repository, fi); - var lma = new LoadModuleAssembly(Repository, fi2, p); - var lma2 = new LoadModuleAssembly(Repository, fi3, p); + var lma = new LoadModuleAssembly(Repository, fi2, p,null); + var lma2 = new LoadModuleAssembly(Repository, fi3, p,null); //gather dependencies of the plugin (plugin[0] + lma[1]) Gatherer g = new Gatherer(RepositoryLocator); diff --git a/Tests.Common/UnitTests.cs b/Tests.Common/UnitTests.cs index e75e0b5516..541ad3fac6 100644 --- a/Tests.Common/UnitTests.cs +++ b/Tests.Common/UnitTests.cs @@ -251,7 +251,7 @@ protected T WhenIHaveA() where T : DatabaseEntity var dll = Path.Combine(TestContext.CurrentContext.TestDirectory,"a.dll"); File.WriteAllBytes(dll,new byte[] {0x11}); - return (T)(object)new LoadModuleAssembly(Repository,new FileInfo(dll),WhenIHaveA()); + return (T)(object)new LoadModuleAssembly(Repository,new FileInfo(dll),WhenIHaveA(),null); } if (typeof (T) == typeof(AggregateContinuousDateAxis))