diff --git a/src/Umbraco.Tests.Common/Builders/AuditEntryBuilder.cs b/src/Umbraco.Tests.Common/Builders/AuditEntryBuilder.cs index cf31c2a14f..6efdc8aca8 100644 --- a/src/Umbraco.Tests.Common/Builders/AuditEntryBuilder.cs +++ b/src/Umbraco.Tests.Common/Builders/AuditEntryBuilder.cs @@ -25,14 +25,14 @@ namespace Umbraco.Tests.Common.Builders private int? _id; private Guid? _key; private DateTime? _updateDate; - private string _affectedDetails; - private int? _affectedUserId; - private string _eventDetails; - private string _eventType; - private string _performingDetails; - private string _performingIp; - private DateTime? _eventDateUtc; - private int? _performingUserId; + private string _affectedDetails = null; + private int? _affectedUserId = null; + private string _eventDetails = null; + private string _eventType = null; + private string _performingDetails = null; + private string _performingIp = null; + private DateTime? _eventDateUtc = null; + private int? _performingUserId = null; public AuditEntryBuilder(TParent parentBuilder) : base(parentBuilder) { diff --git a/src/Umbraco.Tests.Common/Builders/ContentVariantSaveBuilder.cs b/src/Umbraco.Tests.Common/Builders/ContentVariantSaveBuilder.cs index da031a804c..4b7b4b3d2b 100644 --- a/src/Umbraco.Tests.Common/Builders/ContentVariantSaveBuilder.cs +++ b/src/Umbraco.Tests.Common/Builders/ContentVariantSaveBuilder.cs @@ -15,8 +15,8 @@ namespace Umbraco.Tests.Common.Builders private string _name; private CultureInfo _cultureInfo; - private bool? _save; - private bool? _publish; + private bool? _save = null; + private bool? _publish = null; public ContentVariantSaveBuilder(TParent parentBuilder) : base(parentBuilder) { diff --git a/src/Umbraco.Tests.Common/Umbraco.Tests.Common.csproj b/src/Umbraco.Tests.Common/Umbraco.Tests.Common.csproj index 5faf5a1279..aa39070cc7 100644 --- a/src/Umbraco.Tests.Common/Umbraco.Tests.Common.csproj +++ b/src/Umbraco.Tests.Common/Umbraco.Tests.Common.csproj @@ -6,10 +6,9 @@ - + - diff --git a/src/Umbraco.Tests.Integration/Umbraco.Tests.Integration.csproj b/src/Umbraco.Tests.Integration/Umbraco.Tests.Integration.csproj index b483d690f4..fb7e1b750c 100644 --- a/src/Umbraco.Tests.Integration/Umbraco.Tests.Integration.csproj +++ b/src/Umbraco.Tests.Integration/Umbraco.Tests.Integration.csproj @@ -41,7 +41,6 @@ - all