Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverFailureMechanismSectionResultCreateExtensionsTest.cs =================================================================== diff -u -r98d26badd464bc888fd3d811bec501359d6721b1 -r2a210b0032d2a1ac4c4bdedaaf3aee426f717b4d --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverFailureMechanismSectionResultCreateExtensionsTest.cs (.../WaveImpactAsphaltCoverFailureMechanismSectionResultCreateExtensionsTest.cs) (revision 98d26badd464bc888fd3d811bec501359d6721b1) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/WaveImpactAsphaltCover/WaveImpactAsphaltCoverFailureMechanismSectionResultCreateExtensionsTest.cs (.../WaveImpactAsphaltCoverFailureMechanismSectionResultCreateExtensionsTest.cs) (revision 2a210b0032d2a1ac4c4bdedaaf3aee426f717b4d) @@ -21,6 +21,7 @@ using System; using Application.Ringtoets.Storage.Create.WaveImpactAsphaltCover; +using Application.Ringtoets.Storage.DbContext; using Application.Ringtoets.Storage.TestUtil; using Core.Common.Base.Data; using Core.Common.TestUtil; @@ -38,8 +39,8 @@ { // Setup var random = new Random(); - AssessmentLayerOneState assessmentLayerOneResult = random.NextEnumValue(); - AssessmentLayerTwoAResult assessmentLayerTwoAResult = random.NextEnumValue(); + var assessmentLayerOneResult = random.NextEnumValue(); + var assessmentLayerTwoAResult = random.NextEnumValue(); const double assessmentLayerThreeResult = 3.2; var sectionResult = new WaveImpactAsphaltCoverFailureMechanismSectionResult(new TestFailureMechanismSection()) @@ -50,7 +51,7 @@ }; // Call - var result = sectionResult.Create(); + WaveImpactAsphaltCoverSectionResultEntity result = sectionResult.Create(); // Assert Assert.AreEqual(Convert.ToByte(assessmentLayerOneResult), result.LayerOne); @@ -68,7 +69,7 @@ }; // Call - var result = sectionResult.Create(); + WaveImpactAsphaltCoverSectionResultEntity result = sectionResult.Create(); // Assert Assert.IsNull(result.LayerThree);