Remove build warnings

Signed-off-by: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
Bjarke Berg
2020-10-27 11:57:15 +01:00
parent a6ef907427
commit 6c2ece0619
4 changed files with 11 additions and 13 deletions

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -6,10 +6,9 @@
<ItemGroup>
<PackageReference Include="AutoFixture.AutoMoq" Version="4.14.0" />
<PackageReference Include="MiniProfiler" Version="4.1.0" />
<PackageReference Include="MiniProfiler.AspNetCore" Version="4.2.1" />
<PackageReference Include="Moq" Version="4.13.1" />
<PackageReference Include="AutoFixture.NUnit3" Version="4.14.0" />
<PackageReference Include="MiniProfiler" Version="4.2.1" />
<PackageReference Include="Moq" Version="4.14.5" />
<PackageReference Include="nunit" Version="3.12.0" />
</ItemGroup>

View File

@@ -41,7 +41,6 @@
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="3.1.8" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
<PackageReference Include="Moq" Version="4.14.6" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
<PackageReference Include="nunit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0">
<PrivateAssets>all</PrivateAssets>